var WBtopPublic = function() {
    var STK = function() {
        var a = {}, b = [];
        a.inc = function(a, b) {
            return !0
        };
        a.register = function(c, d) {
            var e = c.split("."), f = a, g = null;
            while (g = e.shift())
                if (e.length) {
                    f[g] === undefined && (f[g] = {});
                    f = f[g]
                } else if (f[g] === undefined)
                    try {
                        f[g] = d(a)
                    } catch (h) {
                        b.push(h)
                    }
        };
        a.regShort = function(b, c) {
            if (a[b] !== undefined)
                throw "[" + b + "] : short : has been register";
            a[b] = c
        };
        a.IE = /msie/i.test(navigator.userAgent);
        a.E = function(a) {
            return typeof a == "string" ? document.getElementById(a) : a
        };
        a.C = function(a) {
            var b;
            a = a.toUpperCase();
            a == "TEXT" ? b = document.createTextNode("")
                    : a == "BUFFER" ? b = document.createDocumentFragment()
                            : b = document.createElement(a);
            return b
        };
        a.log = function(a) {
            b.push("[" + (new Date).getTime() % 1e5 + "]: " + a)
        };
        a.getErrorLogInformationList = function(a) {
            return b.splice(0, a || b.length)
        };
        return a
    }();
    $Import = STK.inc;
    STK.register("core.evt.addEvent", function(a) {
        return function(b, c, d) {
            var e = a.E(b);
            if (e == null)
                return !1;
            c = c || "click";
            if ((typeof d).toLowerCase() == "function") {
                e.addEventListener ? e.addEventListener(c, d, !1)
                        : e.attachEvent ? e.attachEvent("on" + c, d) : e["on"
                                + c] = d;
                return !0
            }
        }
    });
    STK.register("core.evt.removeEvent", function(a) {
        return function(b, c, d, e) {
            var f = a.E(b);
            if (f == null)
                return !1;
            if (typeof d != "function")
                return !1;
            f.removeEventListener ? f.removeEventListener(c, d, e)
                    : f.detachEvent ? f.detachEvent("on" + c, d)
                            : f["on" + c] = null;
            return !0
        }
    });
    STK
            .register(
                    "core.util.browser",
                    function(a) {
                        var b = navigator.userAgent.toLowerCase(), c = window.external
                                || "", d, e, f, g, h, i = function(a) {
                            var b = 0;
                            return parseFloat(a.replace(/\./g, function() {
                                return b++ == 1 ? "" : "."
                            }))
                        };
                        try {
                            /windows|win32/i.test(b) ? h = "windows"
                                    : /macintosh/i.test(b) ? h = "macintosh"
                                            : /rhino/i.test(b) && (h = "rhino");
                            if ((e = b.match(/applewebkit\/([^\s]*)/)) && e[1]) {
                                d = "webkit";
                                g = i(e[1])
                            } else if ((e = b.match(/presto\/([\d.]*)/))
                                    && e[1]) {
                                d = "presto";
                                g = i(e[1])
                            } else if (e = b.match(/msie\s([^;]*)/)) {
                                d = "trident";
                                g = 1;
                                (e = b.match(/trident\/([\d.]*)/)) && e[1]
                                        && (g = i(e[1]))
                            } else if (/gecko/.test(b)) {
                                d = "gecko";
                                g = 1;
                                (e = b.match(/rv:([\d.]*)/)) && e[1]
                                        && (g = i(e[1]))
                            }
                            /world/.test(b) ? f = "world"
                                    : /360se/.test(b) ? f = "360"
                                            : /maxthon/.test(b)
                                                    || typeof c.max_version == "number" ? f = "maxthon"
                                                    : /tencenttraveler\s([\d.]*)/
                                                            .test(b) ? f = "tt"
                                                            : /se\s([\d.]*)/
                                                                    .test(b)
                                                                    && (f = "sogou")
                        } catch (j) {
                        }
                        var k = {
                            OS : h,
                            CORE : d,
                            Version : g,
                            EXTRA : f ? f : !1,
                            IE : /msie/.test(b),
                            OPERA : /opera/.test(b),
                            MOZ : /gecko/.test(b)
                                    && !/(compatible|webkit)/.test(b),
                            IE5 : /msie 5 /.test(b),
                            IE55 : /msie 5.5/.test(b),
                            IE6 : /msie 6/.test(b),
                            IE7 : /msie 7/.test(b),
                            IE8 : /msie 8/.test(b),
                            IE9 : /msie 9/.test(b),
                            SAFARI : !/chrome\/([\d.]*)/.test(b)
                                    && /\/([\d.]*) safari/.test(b),
                            CHROME : /chrome\/([\d.]*)/.test(b),
                            IPAD : /\(ipad/i.test(b),
                            IPHONE : /\(iphone/i.test(b),
                            ITOUCH : /\(itouch/i.test(b),
                            MOBILE : /mobile/i.test(b)
                        };
                        return k
                    });
    STK.register("core.evt.getEvent", function(a) {
        return function() {
            if (a.IE)
                return window.event;
            if (window.event)
                return window.event;
            var b = arguments.callee.caller, c, d = 0;
            while (b != null && d < 40) {
                c = b.arguments[0];
                if (!(!c || c.constructor != Event
                        && c.constructor != MouseEvent
                        && c.constructor != KeyboardEvent))
                    return c;
                d++;
                b = b.caller
            }
            return c
        }
    });
    STK.register("core.evt.fixEvent", function(a) {
        return function(b) {
            b = b || a.core.evt.getEvent();
            if (!b.target) {
                b.target = b.srcElement;
                b.pageX = b.x;
                b.pageY = b.y
            }
            typeof b.layerX == "undefined" && (b.layerX = b.offsetX);
            typeof b.layerY == "undefined" && (b.layerY = b.offsetY);
            return b
        }
    });
    STK.register("core.evt.preventDefault", function(a) {
        return function(b) {
            var c = b ? b : a.core.evt.getEvent();
            a.IE ? c.returnValue = !1 : c.preventDefault()
        }
    });
    STK.register("core.arr.isArray", function(a) {
        return function(a) {
            return Object.prototype.toString.call(a) === "[object Array]"
        }
    });
    STK.register("core.str.trim", function(a) {
        return function(a) {
            if (typeof a != "string")
                throw "trim need a string as parameter";
            var b = a.length, c = 0, d = /(\u3000|\s|\t|\u00A0)/;
            while (c < b) {
                if (!d.test(a.charAt(c)))
                    break;
                c += 1
            }
            while (b > c) {
                if (!d.test(a.charAt(b - 1)))
                    break;
                b -= 1
            }
            return a.slice(c, b)
        }
    });
    STK.register("core.json.queryToJson", function(a) {
        return function(b, c) {
            var d = a.core.str.trim(b).split("&"), e = {}, f = function(a) {
                return c ? decodeURIComponent(a) : a
            };
            for ( var g = 0, h = d.length; g < h; g++)
                if (d[g]) {
                    var i = d[g].split("="), j = i[0], k = i[1];
                    if (i.length < 2) {
                        k = j;
                        j = "$nullName"
                    }
                    if (!e[j])
                        e[j] = f(k);
                    else {
                        a.core.arr.isArray(e[j]) != !0 && (e[j] = [ e[j] ]);
                        e[j].push(f(k))
                    }
                }
            return e
        }
    });
    STK.register("core.dom.isNode", function(a) {
        return function(a) {
            return a != undefined && Boolean(a.nodeName) && Boolean(a.nodeType)
        }
    });
    STK
            .register(
                    "core.dom.sizzle",
                    function(a) {
                        function p(a, b, c, d, e, f) {
                            for ( var h = 0, i = d.length; h < i; h++) {
                                var j = d[h];
                                if (j) {
                                    j = j[a];
                                    var k = !1;
                                    while (j) {
                                        if (j.sizcache === c) {
                                            k = d[j.sizset];
                                            break
                                        }
                                        if (j.nodeType === 1) {
                                            if (!f) {
                                                j.sizcache = c;
                                                j.sizset = h
                                            }
                                            if (typeof b != "string") {
                                                if (j === b) {
                                                    k = !0;
                                                    break
                                                }
                                            } else if (g.filter(b, [ j ]).length > 0) {
                                                k = j;
                                                break
                                            }
                                        }
                                        j = j[a]
                                    }
                                    d[h] = k
                                }
                            }
                        }
                        function o(a, b, c, d, e, f) {
                            for ( var g = 0, h = d.length; g < h; g++) {
                                var i = d[g];
                                if (i) {
                                    i = i[a];
                                    var j = !1;
                                    while (i) {
                                        if (i.sizcache === c) {
                                            j = d[i.sizset];
                                            break
                                        }
                                        if (i.nodeType === 1 && !f) {
                                            i.sizcache = c;
                                            i.sizset = g
                                        }
                                        if (i.nodeName.toLowerCase() === b) {
                                            j = i;
                                            break
                                        }
                                        i = i[a]
                                    }
                                    d[g] = j
                                }
                            }
                        }
                        var b = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, c = 0, d = Object.prototype.toString, e = !1, f = !0;
                        [ 0, 0 ].sort(function() {
                            f = !1;
                            return 0
                        });
                        var g = function(a, c, e, f) {
                            e = e || [];
                            c = c || document;
                            var j = c;
                            if (c.nodeType !== 1 && c.nodeType !== 9)
                                return [];
                            if (!a || typeof a != "string")
                                return e;
                            var k = [], m, n, o, p, r = !0, s = g.isXML(c), t = a, u, v, w, x;
                            do {
                                b.exec("");
                                m = b.exec(t);
                                if (m) {
                                    t = m[3];
                                    k.push(m[1]);
                                    if (m[2]) {
                                        p = m[3];
                                        break
                                    }
                                }
                            } while (m);
                            if (k.length > 1 && i.exec(a))
                                if (k.length === 2 && h.relative[k[0]])
                                    n = q(k[0] + k[1], c);
                                else {
                                    n = h.relative[k[0]] ? [ c ] : g(k.shift(),
                                            c);
                                    while (k.length) {
                                        a = k.shift();
                                        h.relative[a] && (a += k.shift());
                                        n = q(a, n)
                                    }
                                }
                            else {
                                if (!f && k.length > 1 && c.nodeType === 9
                                        && !s && h.match.ID.test(k[0])
                                        && !h.match.ID.test(k[k.length - 1])) {
                                    u = g.find(k.shift(), c, s);
                                    c = u.expr ? g.filter(u.expr, u.set)[0]
                                            : u.set[0]
                                }
                                if (c) {
                                    u = f ? {
                                        expr : k.pop(),
                                        set : l(f)
                                    } : g.find(k.pop(), k.length === 1
                                            && (k[0] === "~" || k[0] === "+")
                                            && c.parentNode ? c.parentNode : c,
                                            s);
                                    n = u.expr ? g.filter(u.expr, u.set)
                                            : u.set;
                                    k.length > 0 ? o = l(n) : r = !1;
                                    while (k.length) {
                                        v = k.pop();
                                        w = v;
                                        h.relative[v] ? w = k.pop() : v = "";
                                        w == null && (w = c);
                                        h.relative[v](o, w, s)
                                    }
                                } else
                                    o = k = []
                            }
                            o || (o = n);
                            o || g.error(v || a);
                            if (d.call(o) === "[object Array]")
                                if (!r)
                                    e.push.apply(e, o);
                                else if (c && c.nodeType === 1)
                                    for (x = 0; o[x] != null; x++)
                                        o[x]
                                                && (o[x] === !0 || o[x].nodeType === 1
                                                        && g.contains(c, o[x]))
                                                && e.push(n[x]);
                                else
                                    for (x = 0; o[x] != null; x++)
                                        o[x] && o[x].nodeType === 1
                                                && e.push(n[x]);
                            else
                                l(o, e);
                            if (p) {
                                g(p, j, e, f);
                                g.uniqueSort(e)
                            }
                            return e
                        };
                        g.uniqueSort = function(a) {
                            if (n) {
                                e = f;
                                a.sort(n);
                                if (e)
                                    for ( var b = 1; b < a.length; b++)
                                        a[b] === a[b - 1] && a.splice(b--, 1)
                            }
                            return a
                        };
                        g.matches = function(a, b) {
                            return g(a, null, null, b)
                        };
                        g.find = function(a, b, c) {
                            var d;
                            if (!a)
                                return [];
                            for ( var e = 0, f = h.order.length; e < f; e++) {
                                var g = h.order[e], i;
                                if (i = h.leftMatch[g].exec(a)) {
                                    var j = i[1];
                                    i.splice(1, 1);
                                    if (j.substr(j.length - 1) !== "\\") {
                                        i[1] = (i[1] || "").replace(/\\/g, "");
                                        d = h.find[g](i, b, c);
                                        if (d != null) {
                                            a = a.replace(h.match[g], "");
                                            break
                                        }
                                    }
                                }
                            }
                            d || (d = b.getElementsByTagName("*"));
                            return {
                                set : d,
                                expr : a
                            }
                        };
                        g.filter = function(a, b, c, d) {
                            var e = a, f = [], i = b, j, k, l = b && b[0]
                                    && g.isXML(b[0]);
                            while (a && b.length) {
                                for ( var m in h.filter)
                                    if ((j = h.leftMatch[m].exec(a)) != null
                                            && j[2]) {
                                        var n = h.filter[m], o, p, q = j[1];
                                        k = !1;
                                        j.splice(1, 1);
                                        if (q.substr(q.length - 1) === "\\")
                                            continue;
                                        i === f && (f = []);
                                        if (h.preFilter[m]) {
                                            j = h.preFilter[m]
                                                    (j, i, c, f, d, l);
                                            if (!j)
                                                k = o = !0;
                                            else if (j === !0)
                                                continue
                                        }
                                        if (j)
                                            for ( var r = 0; (p = i[r]) != null; r++)
                                                if (p) {
                                                    o = n(p, j, r, i);
                                                    var s = d ^ !!o;
                                                    if (c && o != null)
                                                        s ? k = !0 : i[r] = !1;
                                                    else if (s) {
                                                        f.push(p);
                                                        k = !0
                                                    }
                                                }
                                        if (o !== undefined) {
                                            c || (i = f);
                                            a = a.replace(h.match[m], "");
                                            if (!k)
                                                return [];
                                            break
                                        }
                                    }
                                if (a === e)
                                    if (k == null)
                                        g.error(a);
                                    else
                                        break;
                                e = a
                            }
                            return i
                        };
                        g.error = function(a) {
                            throw "Syntax error, unrecognized expression: " + a
                        };
                        var h = {
                            order : [ "ID", "NAME", "TAG" ],
                            match : {
                                ID : /#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
                                CLASS : /\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
                                NAME : /\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,
                                ATTR : /\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,
                                TAG : /^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,
                                CHILD : /:(only|nth|last|first)-child(?:\((even|odd|[\dn+\-]*)\))?/,
                                POS : /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,
                                PSEUDO : /:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/
                            },
                            leftMatch : {},
                            attrMap : {
                                "class" : "className",
                                "for" : "htmlFor"
                            },
                            attrHandle : {
                                href : function(a) {
                                    return a.getAttribute("href")
                                }
                            },
                            relative : {
                                "+" : function(a, b) {
                                    var c = typeof b == "string", d = c
                                            && !/\W/.test(b), e = c && !d;
                                    d && (b = b.toLowerCase());
                                    for ( var f = 0, h = a.length, i; f < h; f++)
                                        if (i = a[f]) {
                                            while ((i = i.previousSibling)
                                                    && i.nodeType !== 1)
                                                ;
                                            a[f] = e
                                                    || i
                                                    && i.nodeName.toLowerCase() === b ? i
                                                    || !1
                                                    : i === b
                                        }
                                    e && g.filter(b, a, !0)
                                },
                                ">" : function(a, b) {
                                    var c = typeof b == "string", d, e = 0, f = a.length;
                                    if (c && !/\W/.test(b)) {
                                        b = b.toLowerCase();
                                        for (; e < f; e++) {
                                            d = a[e];
                                            if (d) {
                                                var h = d.parentNode;
                                                a[e] = h.nodeName.toLowerCase() === b ? h
                                                        : !1
                                            }
                                        }
                                    } else {
                                        for (; e < f; e++) {
                                            d = a[e];
                                            d
                                                    && (a[e] = c ? d.parentNode
                                                            : d.parentNode === b)
                                        }
                                        c && g.filter(b, a, !0)
                                    }
                                },
                                "" : function(a, b, d) {
                                    var e = c++, f = p, g;
                                    if (typeof b == "string" && !/\W/.test(b)) {
                                        b = b.toLowerCase();
                                        g = b;
                                        f = o
                                    }
                                    f("parentNode", b, e, a, g, d)
                                },
                                "~" : function(a, b, d) {
                                    var e = c++, f = p, g;
                                    if (typeof b == "string" && !/\W/.test(b)) {
                                        b = b.toLowerCase();
                                        g = b;
                                        f = o
                                    }
                                    f("previousSibling", b, e, a, g, d)
                                }
                            },
                            find : {
                                ID : function(a, b, c) {
                                    if (typeof b.getElementById != "undefined"
                                            && !c) {
                                        var d = b.getElementById(a[1]);
                                        return d ? [ d ] : []
                                    }
                                },
                                NAME : function(a, b) {
                                    if (typeof b.getElementsByName != "undefined") {
                                        var c = [], d = b
                                                .getElementsByName(a[1]);
                                        for ( var e = 0, f = d.length; e < f; e++)
                                            d[e].getAttribute("name") === a[1]
                                                    && c.push(d[e]);
                                        return c.length === 0 ? null : c
                                    }
                                },
                                TAG : function(a, b) {
                                    return b.getElementsByTagName(a[1])
                                }
                            },
                            preFilter : {
                                CLASS : function(a, b, c, d, e, f) {
                                    a = " " + a[1].replace(/\\/g, "") + " ";
                                    if (f)
                                        return a;
                                    for ( var g = 0, h; (h = b[g]) != null; g++)
                                        h
                                                && (e
                                                        ^ (h.className && (" "
                                                                + h.className + " ")
                                                                .replace(
                                                                        /[\t\n]/g,
                                                                        " ")
                                                                .indexOf(a) >= 0) ? c
                                                        || d.push(h)
                                                        : c && (b[g] = !1));
                                    return !1
                                },
                                ID : function(a) {
                                    return a[1].replace(/\\/g, "")
                                },
                                TAG : function(a, b) {
                                    return a[1].toLowerCase()
                                },
                                CHILD : function(a) {
                                    if (a[1] === "nth") {
                                        var b = /(-?)(\d*)n((?:\+|-)?\d*)/
                                                .exec(a[2] === "even" && "2n"
                                                        || a[2] === "odd"
                                                        && "2n+1"
                                                        || !/\D/.test(a[2])
                                                        && "0n+" + a[2] || a[2]);
                                        a[2] = b[1] + (b[2] || 1) - 0;
                                        a[3] = b[3] - 0
                                    }
                                    a[0] = c++;
                                    return a
                                },
                                ATTR : function(a, b, c, d, e, f) {
                                    var g = a[1].replace(/\\/g, "");
                                    !f && h.attrMap[g] && (a[1] = h.attrMap[g]);
                                    a[2] === "~=" && (a[4] = " " + a[4] + " ");
                                    return a
                                },
                                PSEUDO : function(a, c, d, e, f) {
                                    if (a[1] === "not")
                                        if ((b.exec(a[3]) || "").length > 1
                                                || /^\w/.test(a[3]))
                                            a[3] = g(a[3], null, null, c);
                                        else {
                                            var i = g
                                                    .filter(a[3], c, d, !0 ^ f);
                                            d || e.push.apply(e, i);
                                            return !1
                                        }
                                    else if (h.match.POS.test(a[0])
                                            || h.match.CHILD.test(a[0]))
                                        return !0;
                                    return a
                                },
                                POS : function(a) {
                                    a.unshift(!0);
                                    return a
                                }
                            },
                            filters : {
                                enabled : function(a) {
                                    return a.disabled === !1
                                            && a.type !== "hidden"
                                },
                                disabled : function(a) {
                                    return a.disabled === !0
                                },
                                checked : function(a) {
                                    return a.checked === !0
                                },
                                selected : function(a) {
                                    a.parentNode.selectedIndex;
                                    return a.selected === !0
                                },
                                parent : function(a) {
                                    return !!a.firstChild
                                },
                                empty : function(a) {
                                    return !a.firstChild
                                },
                                has : function(a, b, c) {
                                    return !!g(c[3], a).length
                                },
                                header : function(a) {
                                    return /h\d/i.test(a.nodeName)
                                },
                                text : function(a) {
                                    return "text" === a.type
                                },
                                radio : function(a) {
                                    return "radio" === a.type
                                },
                                checkbox : function(a) {
                                    return "checkbox" === a.type
                                },
                                file : function(a) {
                                    return "file" === a.type
                                },
                                password : function(a) {
                                    return "password" === a.type
                                },
                                submit : function(a) {
                                    return "submit" === a.type
                                },
                                image : function(a) {
                                    return "image" === a.type
                                },
                                reset : function(a) {
                                    return "reset" === a.type
                                },
                                button : function(a) {
                                    return "button" === a.type
                                            || a.nodeName.toLowerCase() === "button"
                                },
                                input : function(a) {
                                    return /input|select|textarea|button/i
                                            .test(a.nodeName)
                                }
                            },
                            setFilters : {
                                first : function(a, b) {
                                    return b === 0
                                },
                                last : function(a, b, c, d) {
                                    return b === d.length - 1
                                },
                                even : function(a, b) {
                                    return b % 2 === 0
                                },
                                odd : function(a, b) {
                                    return b % 2 === 1
                                },
                                lt : function(a, b, c) {
                                    return b < c[3] - 0
                                },
                                gt : function(a, b, c) {
                                    return b > c[3] - 0
                                },
                                nth : function(a, b, c) {
                                    return c[3] - 0 === b
                                },
                                eq : function(a, b, c) {
                                    return c[3] - 0 === b
                                }
                            },
                            filter : {
                                PSEUDO : function(a, b, c, d) {
                                    var e = b[1], f = h.filters[e];
                                    if (f)
                                        return f(a, c, b, d);
                                    if (e === "contains")
                                        return (a.textContent || a.innerText
                                                || g.getText([ a ]) || "")
                                                .indexOf(b[3]) >= 0;
                                    if (e === "not") {
                                        var i = b[3];
                                        for ( var j = 0, k = i.length; j < k; j++)
                                            if (i[j] === a)
                                                return !1;
                                        return !0
                                    }
                                    g
                                            .error("Syntax error, unrecognized expression: "
                                                    + e)
                                },
                                CHILD : function(a, b) {
                                    var c = b[1], d = a;
                                    switch (c) {
                                    case "only":
                                    case "first":
                                        while (d = d.previousSibling)
                                            if (d.nodeType === 1)
                                                return !1;
                                        if (c === "first")
                                            return !0;
                                        d = a;
                                    case "last":
                                        while (d = d.nextSibling)
                                            if (d.nodeType === 1)
                                                return !1;
                                        return !0;
                                    case "nth":
                                        var e = b[2], f = b[3];
                                        if (e === 1 && f === 0)
                                            return !0;
                                        var g = b[0], h = a.parentNode;
                                        if (h
                                                && (h.sizcache !== g || !a.nodeIndex)) {
                                            var i = 0;
                                            for (d = h.firstChild; d; d = d.nextSibling)
                                                d.nodeType === 1
                                                        && (d.nodeIndex = ++i);
                                            h.sizcache = g
                                        }
                                        var j = a.nodeIndex - f;
                                        return e === 0 ? j === 0 : j % e === 0
                                                && j / e >= 0
                                    }
                                },
                                ID : function(a, b) {
                                    return a.nodeType === 1
                                            && a.getAttribute("id") === b
                                },
                                TAG : function(a, b) {
                                    return b === "*" && a.nodeType === 1
                                            || a.nodeName.toLowerCase() === b
                                },
                                CLASS : function(a, b) {
                                    return (" "
                                            + (a.className || a
                                                    .getAttribute("class")) + " ")
                                            .indexOf(b) > -1
                                },
                                ATTR : function(a, b) {
                                    var c = b[1], d = h.attrHandle[c] ? h.attrHandle[c]
                                            (a)
                                            : a[c] != null ? a[c] : a
                                                    .getAttribute(c), e = d
                                            + "", f = b[2], g = b[4];
                                    return d == null ? f === "!="
                                            : f === "=" ? e === g
                                                    : f === "*=" ? e.indexOf(g) >= 0
                                                            : f === "~=" ? (" "
                                                                    + e + " ")
                                                                    .indexOf(g) >= 0
                                                                    : g ? f === "!=" ? e !== g
                                                                            : f === "^=" ? e
                                                                                    .indexOf(g) === 0
                                                                                    : f === "$=" ? e
                                                                                            .substr(e.length
                                                                                                    - g.length) === g
                                                                                            : f === "|=" ? e === g
                                                                                                    || e
                                                                                                            .substr(
                                                                                                                    0,
                                                                                                                    g.length + 1) === g
                                                                                                            + "-"
                                                                                                    : !1
                                                                            : e
                                                                                    && d !== !1
                                },
                                POS : function(a, b, c, d) {
                                    var e = b[2], f = h.setFilters[e];
                                    if (f)
                                        return f(a, c, b, d)
                                }
                            }
                        };
                        g.selectors = h;
                        var i = h.match.POS, j = function(a, b) {
                            return "\\" + (b - 0 + 1)
                        };
                        for ( var k in h.match) {
                            h.match[k] = new RegExp(h.match[k].source
                                    + /(?![^\[]*\])(?![^\(]*\))/.source);
                            h.leftMatch[k] = new RegExp(
                                    /(^(?:.|\r|\n)*?)/.source
                                            + h.match[k].source.replace(
                                                    /\\(\d+)/g, j))
                        }
                        var l = function(a, b) {
                            a = Array.prototype.slice.call(a, 0);
                            if (b) {
                                b.push.apply(b, a);
                                return b
                            }
                            return a
                        };
                        try {
                            Array.prototype.slice.call(
                                    document.documentElement.childNodes, 0)[0].nodeType
                        } catch (m) {
                            l = function(a, b) {
                                var c = b || [], e = 0;
                                if (d.call(a) === "[object Array]")
                                    Array.prototype.push.apply(c, a);
                                else if (typeof a.length == "number")
                                    for ( var f = a.length; e < f; e++)
                                        c.push(a[e]);
                                else
                                    for (; a[e]; e++)
                                        c.push(a[e]);
                                return c
                            }
                        }
                        var n;
                        document.documentElement.compareDocumentPosition ? n = function(
                                a, b) {
                            if (!a.compareDocumentPosition
                                    || !b.compareDocumentPosition) {
                                a == b && (e = !0);
                                return a.compareDocumentPosition ? -1 : 1
                            }
                            var c = a.compareDocumentPosition(b) & 4 ? -1
                                    : a === b ? 0 : 1;
                            c === 0 && (e = !0);
                            return c
                        }
                                : "sourceIndex" in document.documentElement ? n = function(
                                        a, b) {
                                    if (!a.sourceIndex || !b.sourceIndex) {
                                        a == b && (e = !0);
                                        return a.sourceIndex ? -1 : 1
                                    }
                                    var c = a.sourceIndex - b.sourceIndex;
                                    c === 0 && (e = !0);
                                    return c
                                }
                                        : document.createRange
                                                && (n = function(a, b) {
                                                    if (!a.ownerDocument
                                                            || !b.ownerDocument) {
                                                        a == b && (e = !0);
                                                        return a.ownerDocument ? -1
                                                                : 1
                                                    }
                                                    var c = a.ownerDocument
                                                            .createRange(), d = b.ownerDocument
                                                            .createRange();
                                                    c.setStart(a, 0);
                                                    c.setEnd(a, 0);
                                                    d.setStart(b, 0);
                                                    d.setEnd(b, 0);
                                                    var f = c
                                                            .compareBoundaryPoints(
                                                                    Range.START_TO_END,
                                                                    d);
                                                    f === 0 && (e = !0);
                                                    return f
                                                });
                        g.getText = function(a) {
                            var b = "", c;
                            for ( var d = 0; a[d]; d++) {
                                c = a[d];
                                c.nodeType === 3 || c.nodeType === 4 ? b += c.nodeValue
                                        : c.nodeType !== 8
                                                && (b += g
                                                        .getText(c.childNodes))
                            }
                            return b
                        };
                        (function() {
                            var a = document.createElement("div"), b = "script"
                                    + (new Date).getTime();
                            a.innerHTML = "<a name='" + b + "'/>";
                            var c = document.documentElement;
                            c.insertBefore(a, c.firstChild);
                            if (document.getElementById(b)) {
                                h.find.ID = function(a, b, c) {
                                    if (typeof b.getElementById != "undefined"
                                            && !c) {
                                        var d = b.getElementById(a[1]);
                                        return d ? d.id === a[1]
                                                || typeof d.getAttributeNode != "undefined"
                                                && d.getAttributeNode("id").nodeValue === a[1] ? [ d ]
                                                : undefined
                                                : []
                                    }
                                };
                                h.filter.ID = function(a, b) {
                                    var c = typeof a.getAttributeNode != "undefined"
                                            && a.getAttributeNode("id");
                                    return a.nodeType === 1 && c
                                            && c.nodeValue === b
                                }
                            }
                            c.removeChild(a);
                            c = a = null
                        })();
                        (function() {
                            var a = document.createElement("div");
                            a.appendChild(document.createComment(""));
                            a.getElementsByTagName("*").length > 0
                                    && (h.find.TAG = function(a, b) {
                                        var c = b.getElementsByTagName(a[1]);
                                        if (a[1] === "*") {
                                            var d = [];
                                            for ( var e = 0; c[e]; e++)
                                                c[e].nodeType === 1
                                                        && d.push(c[e]);
                                            c = d
                                        }
                                        return c
                                    });
                            a.innerHTML = "<a href='#'></a>";
                            a.firstChild
                                    && typeof a.firstChild.getAttribute != "undefined"
                                    && a.firstChild.getAttribute("href") !== "#"
                                    && (h.attrHandle.href = function(a) {
                                        return a.getAttribute("href", 2)
                                    });
                            a = null
                        })();
                        document.querySelectorAll
                                && function() {
                                    var a = g, b = document
                                            .createElement("div");
                                    b.innerHTML = "<p class='TEST'></p>";
                                    if (!b.querySelectorAll
                                            || b.querySelectorAll(".TEST").length !== 0) {
                                        g = function(b, c, d, e) {
                                            c = c || document;
                                            if (!e && c.nodeType === 9
                                                    && !g.isXML(c))
                                                try {
                                                    return l(
                                                            c
                                                                    .querySelectorAll(b),
                                                            d)
                                                } catch (f) {
                                                }
                                            return a(b, c, d, e)
                                        };
                                        for ( var c in a)
                                            g[c] = a[c];
                                        b = null
                                    }
                                }();
                        (function() {
                            var a = document.createElement("div");
                            a.innerHTML = "<div class='test e'></div><div class='test'></div>";
                            if (!!a.getElementsByClassName
                                    && a.getElementsByClassName("e").length !== 0) {
                                a.lastChild.className = "e";
                                if (a.getElementsByClassName("e").length === 1)
                                    return;
                                h.order.splice(1, 0, "CLASS");
                                h.find.CLASS = function(a, b, c) {
                                    if (typeof b.getElementsByClassName != "undefined"
                                            && !c)
                                        return b.getElementsByClassName(a[1])
                                };
                                a = null
                            }
                        })();
                        g.contains = document.compareDocumentPosition ? function(
                                a, b) {
                            return !!(a.compareDocumentPosition(b) & 16)
                        }
                                : function(a, b) {
                                    return a !== b
                                            && (a.contains ? a.contains(b) : !0)
                                };
                        g.isXML = function(a) {
                            var b = (a ? a.ownerDocument || a : 0).documentElement;
                            return b ? b.nodeName !== "HTML" : !1
                        };
                        var q = function(a, b) {
                            var c = [], d = "", e, f = b.nodeType ? [ b ] : b;
                            while (e = h.match.PSEUDO.exec(a)) {
                                d += e[0];
                                a = a.replace(h.match.PSEUDO, "")
                            }
                            a = h.relative[a] ? a + "*" : a;
                            for ( var i = 0, j = f.length; i < j; i++)
                                g(a, f[i], c);
                            return g.filter(d, c)
                        };
                        return g
                    });
    STK.register("core.dom.contains", function(a) {
        return function(a, b) {
            if (a === b)
                return !1;
            if (a.compareDocumentPosition)
                return (a.compareDocumentPosition(b) & 16) === 16;
            if (a.contains && b.nodeType === 1)
                return a.contains(b);
            while (b = b.parentNode)
                if (a === b)
                    return !0;
            return !1
        }
    });
    STK.register("core.obj.isEmpty", function(a) {
        return function(a, b) {
            var c = !0;
            for ( var d in a) {
                if (b) {
                    c = !1;
                    break
                }
                if (a.hasOwnProperty(d)) {
                    c = !1;
                    break
                }
            }
            return c
        }
    });
    STK.register("core.func.empty", function() {
        return function() {
        }
    });
    STK
            .register(
                    "core.evt.delegatedEvent",
                    function(a) {
                        var b = function(b, c) {
                            for ( var d = 0, e = b.length; d < e; d += 1)
                                if (a.core.dom.contains(b[d], c))
                                    return !0;
                            return !1
                        };
                        return function(c, d) {
                            if (!a.core.dom.isNode(c))
                                throw "core.evt.delegatedEvent need an Element as first Parameter";
                            d || (d = []);
                            a.core.arr.isArray(d) && (d = [ d ]);
                            var e = {}, f = function(f) {
                                var g = a.core.evt.fixEvent(f), h = g.target, i = f.type, j = function() {
                                    var b, d, e;
                                    b = h.getAttribute("action-target");
                                    if (b) {
                                        d = a.core.dom.sizzle(b, c);
                                        d.length && (e = g.target = d[0])
                                    }
                                    j = a.core.func.empty;
                                    return e
                                }, k = function() {
                                    var b = j() || h;
                                    return e[i] && e[i][l] ? e[i][l]({
                                        evt : g,
                                        el : b,
                                        box : c,
                                        data : a.core.json.queryToJson(b
                                                .getAttribute("action-data")
                                                || "")
                                    }) : !0
                                };
                                if (b(d, h))
                                    return !1;
                                if (!a.core.dom.contains(c, h))
                                    return !1;
                                var l = null;
                                while (h && h !== c) {
                                    l = h.getAttribute("action-type");
                                    if (l && k() === !1)
                                        break;
                                    h = h.parentNode
                                }
                            }, g = {};
                            g.add = function(b, d, g) {
                                if (!e[d]) {
                                    e[d] = {};
                                    a.core.evt.addEvent(c, d, f)
                                }
                                var h = e[d];
                                h[b] = g
                            };
                            g.remove = function(b, d) {
                                if (e[d]) {
                                    delete e[d][b];
                                    if (a.core.obj.isEmpty(e[d])) {
                                        delete e[d];
                                        a.core.evt.removeEvent(c, d, f)
                                    }
                                }
                            };
                            g.pushExcept = function(a) {
                                d.push(a)
                            };
                            g.removeExcept = function(a) {
                                if (!a)
                                    d = [];
                                else
                                    for ( var b = 0, c = d.length; b < c; b += 1)
                                        d[b] === a && d.splice(b, 1)
                            };
                            g.clearExcept = function(a) {
                                d = []
                            };
                            g.destroy = function() {
                                for (k in e) {
                                    for (l in e[k])
                                        delete e[k][l];
                                    delete e[k];
                                    a.core.evt.removeEvent(c, k, f)
                                }
                            };
                            return g
                        }
                    });
    STK.register("core.evt.stopEvent", function(a) {
        return function(b) {
            var c = b ? b : a.core.evt.getEvent();
            if (a.IE) {
                c.cancelBubble = !0;
                c.returnValue = !1
            } else {
                c.preventDefault();
                c.stopPropagation()
            }
            return !1
        }
    });
    STK.register("core.dom.hasClassName", function(a) {
        return function(a, b) {
            return (new RegExp("\\b" + b + "\\b")).test(a.className)
        }
    });
    STK.register("core.dom.addClassName", function(a) {
        return function(b, c) {
            b.nodeType === 1
                    && (a.core.dom.hasClassName(b, c) || (b.className += " "
                            + c))
        }
    });
    STK.register("core.dom.removeClassName", function(a) {
        return function(b, c) {
            b.nodeType === 1
                    && a.core.dom.hasClassName(b, c)
                    && (b.className = b.className.replace(new RegExp("\\b" + c
                            + "\\b"), " "))
        }
    });
    STK.register("core.util.scrollPos", function(a) {
        return function(a) {
            a = a || document;
            var b = a.documentElement, c = a.body;
            return {
                top : Math.max(window.pageYOffset || 0, b.scrollTop,
                        c.scrollTop),
                left : Math.max(window.pageXOffset || 0, b.scrollLeft,
                        c.scrollLeft)
            }
        }
    });
    STK.register("core.obj.parseParam", function(a) {
        return function(a, b, c) {
            var d, e = {};
            b = b || {};
            for (d in a) {
                e[d] = a[d];
                b[d] != null
                        && (c ? a.hasOwnProperty[d] && (e[d] = b[d])
                                : e[d] = b[d])
            }
            return e
        }
    });
    STK.register("core.dom.position", function(a) {
        var b = function(b) {
            var c, d, e, f, g, h;
            c = b.getBoundingClientRect();
            d = a.core.util.scrollPos();
            e = b.ownerDocument.body;
            f = b.ownerDocument.documentElement;
            g = f.clientTop || e.clientTop || 0;
            h = f.clientLeft || e.clientLeft || 0;
            return {
                l : parseInt(c.left + d.left - h, 10) || 0,
                t : parseInt(c.top + d.top - g, 10) || 0
            }
        }, c = function(b, c) {
            var d;
            d = [ b.offsetLeft, b.offsetTop ];
            parent = b.offsetParent;
            if (parent !== b && parent !== c)
                while (parent) {
                    d[0] += parent.offsetLeft;
                    d[1] += parent.offsetTop;
                    parent = parent.offsetParent
                }
            if (a.core.util.browser.OPERA != -1
                    || a.core.util.browser.SAFARI != -1
                    && b.style.position == "absolute") {
                d[0] -= document.body.offsetLeft;
                d[1] -= document.body.offsetTop
            }
            b.parentNode ? parent = b.parentNode : parent = null;
            while (parent && !/^body|html$/i.test(parent.tagName)
                    && parent !== c) {
                if (parent.style.display.search(/^inline|table-row.*$/i)) {
                    d[0] -= parent.scrollLeft;
                    d[1] -= parent.scrollTop
                }
                parent = parent.parentNode
            }
            return {
                l : parseInt(d[0], 10),
                t : parseInt(d[1], 10)
            }
        };
        return function(d, e) {
            if (d == document.body)
                return !1;
            if (d.parentNode == null)
                return !1;
            if (d.style.display == "none")
                return !1;
            var f = a.core.obj.parseParam({
                parent : null
            }, e);
            if (d.getBoundingClientRect) {
                if (f.parent) {
                    var g = b(d), h = b(f.parent);
                    return {
                        l : g.l - h.l,
                        t : g.t - h.t
                    }
                }
                return b(d)
            }
            return c(d, f.parent || document.body)
        }
    });
    STK.register("core.arr.indexOf", function(a) {
        return function(a, b) {
            if (b.indexOf)
                return b.indexOf(a);
            for ( var c = 0, d = b.length; c < d; c++)
                if (b[c] === a)
                    return c;
            return -1
        }
    });
    STK.register("core.arr.inArray", function(a) {
        return function(b, c) {
            return a.core.arr.indexOf(b, c) > -1
        }
    });
    STK.register("core.func.getType", function(a) {
        return function(a) {
            var b;
            return ((b = typeof a) == "object" ? a == null && "null"
                    || Object.prototype.toString.call(a).slice(8, -1) : b)
                    .toLowerCase()
        }
    });
    STK
            .register(
                    "core.dom.builder",
                    function(a) {
                        function b(b, c) {
                            if (c)
                                return c;
                            var d, e = /\<(\w+)[^>]*\s+node-type\s*=\s*([\'\"])?(\w+)\2.*?>/g, f = {}, g, h, i;
                            while (d = e.exec(b)) {
                                h = d[1];
                                g = d[3];
                                i = h + "[node-type=" + g + "]";
                                f[g] = f[g] == null ? [] : f[g];
                                a.core.arr.inArray(i, f[g])
                                        || f[g].push(h + "[node-type=" + g
                                                + "]")
                            }
                            return f
                        }
                        return function(c, d) {
                            var e = a.core.func.getType(c) == "string", f = b(
                                    e ? c : c.innerHTML, d), g = c;
                            if (e) {
                                g = a.C("div");
                                g.innerHTML = c
                            }
                            var h, i, j;
                            j = a.core.dom.sizzle("[node-type]", g);
                            i = {};
                            for (h in f)
                                i[h] = a.core.dom.sizzle.matches(f[h]
                                        .toString(), j);
                            var k = c;
                            if (e) {
                                k = a.C("buffer");
                                while (g.children[0])
                                    k.appendChild(g.children[0])
                            }
                            return {
                                box : k,
                                list : i
                            }
                        }
                    });
    STK.register("core.str.bLength", function(a) {
        return function(a) {
            if (!a)
                return 0;
            var b = a.match(/[^\x00-\xff]/g);
            return a.length + (b ? b.length : 0)
        }
    });
    STK.register("core.str.leftB", function(a) {
        return function(b, c) {
            var d = b.replace(/\*/g, " ").replace(/[^\x00-\xff]/g, "**");
            b = b.slice(0, d.slice(0, c).replace(/\*\*/g, " ").replace(/\*/g,
                    "").length);
            a.core.str.bLength(b) > c && c > 0
                    && (b = b.slice(0, b.length - 1));
            return b
        }
    });
    STK.register("core.dom.removeNode", function(a) {
        return function(b) {
            b = a.E(b) || b;
            try {
                b.parentNode.removeChild(b)
            } catch (c) {
            }
        }
    });
    STK.register("core.util.getUniqueKey", function(a) {
        var b = (new Date).getTime().toString(), c = 1;
        return function() {
            return b + c++
        }
    });
    STK
            .register(
                    "core.str.parseURL",
                    function(a) {
                        return function(a) {
                            var b = /^(?:([A-Za-z]+):(\/{0,3}))?([0-9.\-A-Za-z]+\.[0-9A-Za-z]+)?(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/, c = [
                                    "url", "scheme", "slash", "host", "port",
                                    "path", "query", "hash" ], d = b.exec(a), e = {};
                            for ( var f = 0, g = c.length; f < g; f += 1)
                                e[c[f]] = d[f] || "";
                            return e
                        }
                    });
    STK.register("core.json.jsonToQuery", function(a) {
        var b = function(b, c) {
            b = b == null ? "" : b;
            b = a.core.str.trim(b.toString());
            return c ? encodeURIComponent(b) : b
        };
        return function(a, c) {
            var d = [];
            if (typeof a == "object")
                for ( var e in a) {
                    if (e === "$nullName") {
                        d = d.concat(a[e]);
                        continue
                    }
                    if (a[e] instanceof Array)
                        for ( var f = 0, g = a[e].length; f < g; f++)
                            d.push(e + "=" + b(a[e][f], c));
                    else
                        typeof a[e] != "function"
                                && d.push(e + "=" + b(a[e], c))
                }
            return d.length ? d.join("&") : ""
        }
    });
    STK
            .register(
                    "core.util.URL",
                    function(a) {
                        return function(b, c) {
                            var d = a.core.obj.parseParam({
                                isEncodeQuery : !1,
                                isEncodeHash : !1
                            }, c || {}), e = {}, f = a.core.str.parseURL(b), g = a.core.json
                                    .queryToJson(f.query), h = a.core.json
                                    .queryToJson(f.hash);
                            e.setParam = function(a, b) {
                                g[a] = b;
                                return this
                            };
                            e.getParam = function(a) {
                                return g[a]
                            };
                            e.setParams = function(a) {
                                for ( var b in a)
                                    e.setParam(b, a[b]);
                                return this
                            };
                            e.setHash = function(a, b) {
                                h[a] = b;
                                return this
                            };
                            e.getHash = function(a) {
                                return h[a]
                            };
                            e.valueOf = e.toString = function() {
                                var b = [], c = a.core.json.jsonToQuery(g,
                                        d.isEncodeQuery), e = a.core.json
                                        .jsonToQuery(h, d.isEncodeQuery);
                                if (f.scheme != "") {
                                    b.push(f.scheme + ":");
                                    b.push(f.slash)
                                }
                                if (f.host != "") {
                                    b.push(f.host);
                                    if (f.port != "") {
                                        b.push(":");
                                        b.push(f.port)
                                    }
                                }
                                b.push("/");
                                b.push(f.path);
                                c != "" && b.push("?" + c);
                                e != "" && b.push("#" + e);
                                return b.join("")
                            };
                            return e
                        }
                    });
    STK.register("core.io.scriptLoader", function(a) {
        var b = {}, c = {
            url : "",
            charset : "UTF-8",
            timeout : 3e4,
            args : {},
            onComplete : a.core.func.empty,
            onTimeout : null,
            isEncode : !1,
            uniqueID : null
        };
        return function(d) {
            var e, f, g = a.core.obj.parseParam(c, d);
            if (g.url == "")
                throw "scriptLoader: url is null";
            var h = g.uniqueID || a.core.util.getUniqueKey();
            e = b[h];
            if (e != null && a.IE != !0) {
                a.core.dom.removeNode(e);
                e = null
            }
            e == null && (e = b[h] = a.C("script"));
            e.charset = g.charset;
            e.id = "scriptRequest_script_" + h;
            e.type = "text/javascript";
            g.onComplete != null
                    && (a.IE ? e.onreadystatechange = function() {
                        if (e.readyState.toLowerCase() == "loaded"
                                || e.readyState.toLowerCase() == "complete") {
                            try {
                                clearTimeout(f);
                                document.getElementsByTagName("head")[0]
                                        .removeChild(e);
                                e.onreadystatechange = null
                            } catch (a) {
                            }
                            g.onComplete()
                        }
                    } : e.onload = function() {
                        try {
                            clearTimeout(f);
                            a.core.dom.removeNode(e)
                        } catch (b) {
                        }
                        g.onComplete()
                    });
            e.src = STK.core.util.URL(g.url, {
                isEncodeQuery : g.isEncode
            }).setParams(g.args);
            document.getElementsByTagName("head")[0].appendChild(e);
            g.timeout > 0 && g.onTimeout != null && (f = setTimeout(function() {
                try {
                    document.getElementsByTagName("head")[0].removeChild(e)
                } catch (a) {
                }
                g.onTimeout()
            }, g.timeout));
            return e
        }
    });
    STK.register("core.io.jsonp", function(a) {
        return function(b) {
            var c = a.core.obj.parseParam({
                url : "",
                charset : "UTF-8",
                timeout : 3e4,
                args : {},
                onComplete : null,
                onTimeout : null,
                responseName : null,
                isEncode : !1,
                varkey : "callback"
            }, b), d = -1, e = c.responseName || "STK_"
                    + a.core.util.getUniqueKey();
            c.args[c.varkey] = e;
            var f = c.onComplete, g = c.onTimeout;
            window[e] = function(a) {
                if (d != 2 && f != null) {
                    d = 1;
                    f(a)
                }
            };
            c.onComplete = null;
            c.onTimeout = function() {
                if (d != 1 && g != null) {
                    d = 2;
                    g()
                }
            };
            return a.core.io.scriptLoader(c)
        }
    });
    STK.register("core.util.listener", function(a) {
        return function() {
            function f() {
                if (d.length != 0) {
                    clearTimeout(e);
                    var b = d.splice(0, 1)[0];
                    try {
                        b.func.apply(b.func, [].concat(b.data))
                    } catch (c) {
                        a.log("[error][listener]: One of " + b + "-" + b
                                + " function execute error.")
                    }
                    e = setTimeout(f, 25)
                }
            }
            var b = {}, c, d = [], e, g = {
                conn : function() {
                    var a = window;
                    while (a != top) {
                        a = a.parent;
                        a.STK && a.STK.core && a.STK.core.util
                                && a.STK.core.util.listener != null && (c = a)
                    }
                },
                register : function(a, d, e) {
                    if (c != null)
                        c.STK.core.util.listener.register(a, d, e);
                    else {
                        b[a] = b[a] || {};
                        b[a][d] = b[a][d] || [];
                        b[a][d].push(e)
                    }
                },
                fire : function(a, e, g) {
                    if (c != null)
                        c.listener.fire(a, e, g);
                    else {
                        var h, i, j;
                        if (b[a] && b[a][e] && b[a][e].length > 0) {
                            h = b[a][e];
                            h.data_cache = g;
                            for (i = 0, j = h.length; i < j; i++)
                                d.push({
                                    channel : a,
                                    evt : e,
                                    func : h[i],
                                    data : g
                                });
                            f()
                        }
                    }
                },
                remove : function(a, d, e) {
                    if (c != null)
                        c.STK.core.util.listener.remove(a, d, e);
                    else if (b[a] && b[a][d])
                        for ( var f = 0, g = b[a][d].length; f < g; f++)
                            if (b[a][d][f] === e) {
                                b[a][d].splice(f, 1);
                                break
                            }
                },
                list : function() {
                    return b
                },
                cache : function(a, d) {
                    if (c != null)
                        return c.listener.cache(a, d);
                    if (b[a] && b[a][d])
                        return b[a][d].data_cache
                }
            };
            return g
        }()
    });
    STK.register("core.util.language", function(a) {
        return function(a, b) {
            return a.replace(/#L\{((.*?)(?:[^\\]))\}/ig, function() {
                var a = arguments[1], c;
                b && b[a] !== undefined ? c = b[a] : c = a;
                return c
            })
        }
    });
    STK
            .register(
                    "core.util.easyTemplate",
                    function(a) {
                        var b = function(a, c) {
                            if (!a)
                                return "";
                            if (a !== b.template) {
                                b.template = a;
                                b.aStatement = b.parsing(b.separate(a))
                            }
                            var d = b.aStatement, e = function(a) {
                                a && (c = a);
                                return arguments.callee
                            };
                            e.toString = function() {
                                return (new Function(d[0], d[1]))(c)
                            };
                            return e
                        };
                        b.separate = function(a) {
                            var b = /\\'/g, c = a
                                    .replace(
                                            /(<(\/?)#(.*?(?:\(.*?\))*)>)|(')|([\r\n\t])|(\$\{([^\}]*?)\})/g,
                                            function(a, c, d, e, f, g, h, i) {
                                                if (c)
                                                    return "{|}"
                                                            + (d ? "-" : "+")
                                                            + e + "{|}";
                                                if (f)
                                                    return "\\'";
                                                if (g)
                                                    return "";
                                                if (h)
                                                    return "'+("
                                                            + i.replace(b, "'")
                                                            + ")+'"
                                            });
                            return c
                        };
                        b.parsing = function(a) {
                            var b, c, d, e, f, g, h, i = [ "var aRet = [];" ];
                            h = a.split(/\{\|\}/);
                            var j = /\s/;
                            while (h.length) {
                                d = h.shift();
                                if (!d)
                                    continue;
                                f = d.charAt(0);
                                if (f !== "+" && f !== "-") {
                                    d = "'" + d + "'";
                                    i.push("aRet.push(" + d + ");");
                                    continue
                                }
                                e = d.split(j);
                                switch (e[0]) {
                                case "+et":
                                    b = e[1];
                                    c = e[2];
                                    i.push('aRet.push("<!--' + b
                                            + ' start-->");');
                                    break;
                                case "-et":
                                    i
                                            .push('aRet.push("<!--' + b
                                                    + ' end-->");');
                                    break;
                                case "+if":
                                    e.splice(0, 1);
                                    i.push("if" + e.join(" ") + "{");
                                    break;
                                case "+elseif":
                                    e.splice(0, 1);
                                    i.push("}else if" + e.join(" ") + "{");
                                    break;
                                case "-if":
                                    i.push("}");
                                    break;
                                case "+else":
                                    i.push("}else{");
                                    break;
                                case "+list":
                                    i
                                            .push("if("
                                                    + e[1]
                                                    + ".constructor === Array){with({i:0,l:"
                                                    + e[1] + ".length," + e[3]
                                                    + "_index:0," + e[3]
                                                    + ":null}){for(i=l;i--;){"
                                                    + e[3] + "_index=(l-i-1);"
                                                    + e[3] + "=" + e[1] + "["
                                                    + e[3] + "_index];");
                                    break;
                                case "-list":
                                    i.push("}}}");
                                    break;
                                default:
                                }
                            }
                            i.push('return aRet.join("");');
                            return [ c, i.join("") ]
                        };
                        return b
                    });
    STK.register("common.extra.toplang", function() {
        return {
            "首页" : "首頁",
            "应用" : "應用",
            "浏览热门应用" : "浏覽熱門應用",
            "管理/查看更多应用" : "管理/查看更多應用",
            "查看我的游戏" : "查看我的遊戲",
            "游戏" : "遊戲",
            "帐号" : "帳號",
            "帐号设置" : "帳號設置",
            "版本选择" : "版本選擇",
            "工具设置" : "工具設置",
            "我的微币" : "我的微幣",
            "还没有微博帐号？" : "還沒有微博帳號？",
            "注册" : "注冊",
            "登录" : "登錄",
            "相关微博" : "相關微博",
            "相关用户" : "相關用戶",
            "粉丝" : "粉絲",
            "相关微群" : "相關微群",
            "群号" : "群號",
            "成员" : "成員",
            "相关应用" : "相關應用",
            "你还没有加入任何微群，现在就去" : "你還沒有加入任何微群，現在就去",
            "发现微群" : "發現微群",
            "热门微群推荐" : "熱門微群推薦",
            "条新评论" : "條新評論",
            "查看评论" : "查看評論",
            "位新粉丝" : "位新粉絲",
            "查看粉丝" : "查看粉絲",
            "条新私信" : "條新私信",
            "条新@提到我" : "條新@提到我",
            "条群内新消息" : "條群內新消息",
            "条相册新消息" : "條相冊新消息",
            "条新通知" : "條新通知",
            "条新邀请" : "條新邀請",
            "查看邀请" : "查看邀請",
            "查看群内消息" : "查看群內消息",
            "查看相册消息" : "查看相冊消息",
            "还没有收到私信/评论/@我，要记得和朋友保持联系哦。" : "還沒有收到私信/評論/@我，要記得和朋友保持聯系哦。",
            "正在加载,请稍候..." : "正在加載,請稍候...",
            "模板设置" : "模板設置",
            "广场" : "廣場",
            "用户" : "用戶",
            "浏览热门游戏" : "瀏覽熱門遊戲",
            "常用游戏" : "常用遊戲",
            "你还没有玩过任何游戏，现在就去" : "你還沒有玩過任何遊戲，現在就去",
            "体验一下" : "體驗一下",
            "风云榜" : "風雲榜",
            "微话题" : "微話題",
            "微博精选" : "微博精選",
            "随便看看" : "隨便看看",
            "微访谈" : "微訪談",
            "查看更多有趣内容" : "查看更多有趣內容",
            "微博达人" : "微博達人",
            "我的微号" : "我的微號",
            "手机" : "手機"
        }
    });
    STK
            .register(
                    "core.dom.ready",
                    function(a) {
                        var b = [], c = !1, d = a.core.func.getType, e = a.core.util.browser, f = a.core.evt.addEvent, g = function() {
                            if (!c && document.readyState === "complete")
                                return !0;
                            return c
                        }, h = function() {
                            if (c != !0) {
                                c = !0;
                                for ( var a = 0, e = b.length; a < e; a++)
                                    if (d(b[a]) === "function")
                                        try {
                                            b[a].call()
                                        } catch (f) {
                                        }
                                b = []
                            }
                        }, i = function() {
                            if (g())
                                h();
                            else {
                                try {
                                    document.documentElement.doScroll("left")
                                } catch (a) {
                                    setTimeout(arguments.callee, 25);
                                    return
                                }
                                h()
                            }
                        }, j = function() {
                            g() ? h() : setTimeout(arguments.callee, 25)
                        }, k = function() {
                            f(document, "DOMContentLoaded", h)
                        }, l = function() {
                            f(window, "load", h)
                        };
                        if (!g()) {
                            a.IE && window === window.top && i();
                            k();
                            j();
                            l()
                        }
                        return function(a) {
                            g() ? d(a) === "function" && a.call() : b.push(a)
                        }
                    });
    STK
            .register(
                    "core.util.hideContainer",
                    function(a) {
                        var b, c = function() {
                            if (!b) {
                                b = a.C("div");
                                b.style.cssText = "position:absolute;top:-9999px;left:-9999px;";
                                document.getElementsByTagName("head")[0]
                                        .appendChild(b)
                            }
                        }, d = {
                            appendChild : function(d) {
                                if (a.core.dom.isNode(d)) {
                                    c();
                                    b.appendChild(d)
                                }
                            },
                            removeChild : function(c) {
                                a.core.dom.isNode(c) && b && b.removeChild(c)
                            }
                        };
                        return d
                    });
    STK.register("core.dom.getSize", function(a) {
        var b = function(b) {
            if (!a.core.dom.isNode(b))
                throw "core.dom.getSize need Element as first parameter";
            return {
                width : b.offsetWidth,
                height : b.offsetHeight
            }
        }, c = function(a) {
            var c = null;
            if (a.style.display === "none") {
                a.style.visibility = "hidden";
                a.style.display = "";
                c = b(a);
                a.style.display = "none";
                a.style.visibility = "visible"
            } else
                c = b(a);
            return c
        };
        return function(b) {
            var d = {};
            if (!b.parentNode) {
                a.core.util.hideContainer.appendChild(b);
                d = c(b);
                a.core.util.hideContainer.removeChild(b)
            } else
                d = c(b);
            return d
        }
    });
    STK
            .register(
                    "core.util.swf",
                    function(a) {
                        function b(b, c) {
                            var d = a.core.obj.parseParam(
                                    {
                                        id : "swf_"
                                                + parseInt(Math.random() * 1e4,
                                                        10),
                                        width : 1,
                                        height : 1,
                                        attrs : {},
                                        paras : {},
                                        flashvars : {},
                                        html : ""
                                    }, c);
                            if (b == null)
                                throw "swf: [sURL] 未定义";
                            var e, f = [], g = [];
                            for (e in d.attrs)
                                g.push(e + '="' + d.attrs[e] + '" ');
                            var h = [];
                            for (e in d.flashvars)
                                h.push(e + "=" + d.flashvars[e]);
                            d.paras.flashvars = h.join("&");
                            if (a.IE) {
                                f
                                        .push('<object width="'
                                                + d.width
                                                + '" height="'
                                                + d.height
                                                + '" id="'
                                                + d.id
                                                + '" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ');
                                f.push(g.join(""));
                                f.push('><param name="movie" value="' + b
                                        + '" />');
                                for (e in d.paras)
                                    f.push('<param name="' + e + '" value="'
                                            + d.paras[e] + '" />');
                                f.push("</object>")
                            } else {
                                f
                                        .push('<embed width="'
                                                + d.width
                                                + '" height="'
                                                + d.height
                                                + '" id="'
                                                + d.id
                                                + '" src="'
                                                + b
                                                + '" type="application/x-shockwave-flash" ');
                                f.push(g.join(""));
                                for (e in d.paras)
                                    f.push(e + '="' + d.paras[e] + '" ');
                                f.push(" />")
                            }
                            d.html = f.join("");
                            return d
                        }
                        var c = {};
                        c.create = function(c, d, e) {
                            var f = a.E(c);
                            if (f == null)
                                throw "swf: [" + c + "] 未找到";
                            var g = b(d, e);
                            f.innerHTML = g.html;
                            return a.E(g.id)
                        };
                        c.html = function(a, c) {
                            var d = b(a, c);
                            return d.html
                        };
                        c.check = function() {
                            var b = -1;
                            if (a.IE)
                                try {
                                    var c = new ActiveXObject(
                                            "ShockwaveFlash.ShockwaveFlash");
                                    b = c.GetVariable("$version")
                                } catch (d) {
                                }
                            else
                                navigator.plugins["Shockwave Flash"]
                                        && (b = navigator.plugins["Shockwave Flash"].description);
                            return b
                        };
                        return c
                    });
    STK.register("common.listener", function(a) {
        var b = {}, c = {};
        c.define = function(c, d) {
            if (b[c] != null)
                throw "common.listener.define: 频道已被占用";
            b[c] = d;
            var e = {};
            e.register = function(d, e) {
                if (b[c] == null)
                    throw "common.listener.define: 频道未定义";
                a.listener.register(c, d, e)
            };
            e.fire = function(d, e) {
                if (b[c] == null)
                    throw "commonlistener.define: 频道未定义";
                a.listener.fire(c, d, e)
            };
            e.remove = function(b, d) {
                a.listener.remove(c, b, d)
            };
            e.cache = function(b) {
                return a.listener.cache(c, b)
            };
            return e
        };
        return c
    });
    STK.register("common.channel.topTip", function(a) {
        var b = [ "refresh", "readed" ];
        return a.common.listener.define("common.channel.topTip", b)
    });
    STK.register("kit.extra.merge", function(a) {
        return function(a, b) {
            var c = {};
            for ( var d in a)
                c[d] = a[d];
            for ( var d in b)
                c[d] = b[d];
            return c
        }
    });
    STK.register("kit.io.ajax", function(a) {
        var b = function(b, c, d) {
            c = c | 0 || 1;
            d = d || "fail";
            var e = b.args;
            e.__rnd && delete e.__rnd;
            (new Image).src = "http://weibolog.sinaapp.com/?t=" + c + "&u="
                    + encodeURIComponent(b.url) + "&p="
                    + encodeURIComponent(a.core.json.jsonToQuery(e)) + "&m="
                    + d
        };
        return function(c) {
            var d, e, f, g, h, i, j;
            i = function(a) {
                h = !1;
                c.onComplete(a, d.args);
                setTimeout(k, 0)
            };
            j = function(a) {
                h = !1;
                typeof c.onFail == "function" && c.onFail(a, d.args);
                setTimeout(k, 0);
                try {
                    b(d)
                } catch (e) {
                }
            };
            f = [];
            g = null;
            h = !1;
            d = a.parseParam({
                url : "",
                method : "get",
                responseType : "json",
                timeout : 3e4,
                onTraning : a.funcEmpty,
                isEncode : !0
            }, c);
            d.onComplete = i;
            d.onFail = j;
            d.onTimeout = function() {
                try {
                    b(d)
                } catch (a) {
                }
            };
            var k = function() {
                if (!!f.length) {
                    if (h === !0)
                        return;
                    h = !0;
                    d.args = f.shift();
                    if (d.method.toLowerCase() == "post") {
                        var b = a.core.util.URL(d.url);
                        b.setParam("__rnd", (new Date).valueOf());
                        d.url = b.toString()
                    }
                    g = a.ajax(d)
                }
            }, l = function(a) {
                while (f.length)
                    f.shift();
                h = !1;
                if (g)
                    try {
                        g.abort()
                    } catch (b) {
                    }
                g = null
            };
            e = {};
            e.request = function(a) {
                a || (a = {});
                c.noQueue && l();
                if (!c.uniqueRequest || !g) {
                    f.push(a);
                    a._t = 0;
                    k()
                }
            };
            e.abort = l;
            return e
        }
    });
    STK.register("kit.io.jsonp", function(a) {
        return function(b) {
            var c, d, e, f, g;
            c = a.parseParam({
                url : "",
                method : "get",
                responseType : "json",
                varkey : "_v",
                timeout : 3e4,
                onComplete : a.funcEmpty,
                onTraning : a.funcEmpty,
                onFail : a.funcEmpty,
                isEncode : !0
            }, b);
            e = [];
            f = {};
            g = !1;
            var h = function() {
                if (!!e.length) {
                    if (g === !0)
                        return;
                    g = !0;
                    f.args = e.shift();
                    f.onComplete = function(a) {
                        g = !1;
                        c.onComplete(a, f.args);
                        setTimeout(h, 0)
                    };
                    f.onFail = function(a) {
                        g = !1;
                        c.onFail(a);
                        setTimeout(h, 0)
                    };
                    a.jsonp(a.kit.extra.merge(c, {
                        args : f.args,
                        onComplete : function(a) {
                            f.onComplete(a)
                        },
                        onFail : function(a) {
                            try {
                                f.onFail(a)
                            } catch (b) {
                            }
                        }
                    }))
                }
            };
            d = {};
            d.request = function(a) {
                a || (a = {});
                e.push(a);
                a._t = 1;
                h()
            };
            d.abort = function(a) {
                while (e.length)
                    e.shift();
                g = !1;
                f = null
            };
            return d
        }
    });
    STK.register("kit.io.inter", function(a) {
        return function() {
            var b, c, d;
            b = {};
            c = {};
            d = {};
            b.register = function(a, b) {
                if (c[a] !== undefined)
                    throw a + " interface has been registered";
                c[a] = b;
                d[a] = {}
            };
            b.hookComplete = function(b, c) {
                var e = a.core.util.getUniqueKey();
                d[b][e] = c;
                return e
            };
            b.removeHook = function(a, b) {
                d[a] && d[a][b] && delete d[a][b]
            };
            b.getTrans = function(b, e) {
                var f = a.kit.extra.merge(c[b], e);
                f.onComplete = function(a, c) {
                    try {
                        e.onComplete(a, c)
                    } catch (f) {
                    }
                    if (a.code === "100000")
                        try {
                            e.onSuccess(a, c)
                        } catch (f) {
                        }
                    else
                        try {
                            if (a.code === "100002") {
                                window.location.href = a.data;
                                return
                            }
                            e.onError(a, c)
                        } catch (f) {
                        }
                    for ( var g in d[b])
                        try {
                            d[b][g](a, c)
                        } catch (f) {
                        }
                };
                return c[b].requestMode === "jsonp" ? a.kit.io.jsonp(f)
                        : c[b].requestMode === "ijax" ? a.kit.io.ijax(f)
                                : a.kit.io.ajax(f)
            };
            b.request = function(b, e, f) {
                var g = a.core.json.merge(c[b], e);
                g.onComplete = function(a, c) {
                    try {
                        e.onComplete(a, c)
                    } catch (f) {
                    }
                    if (a.code === "100000")
                        try {
                            e.onSuccess(a, c)
                        } catch (f) {
                        }
                    else
                        try {
                            if (a.code === "100002") {
                                window.location.href = a.data;
                                return
                            }
                            e.onError(a, c)
                        } catch (f) {
                        }
                    for ( var g in d[b])
                        try {
                            d[b][g](a, c)
                        } catch (f) {
                        }
                };
                g = a.core.obj.cut(g, [ "noqueue" ]);
                g.args = f;
                return c[b].requestMode === "jsonp" ? a.jsonp(g)
                        : c[b].requestMode === "ijax" ? a.ijax(g) : a.ajax(g)
            };
            return b
        }
    });
    STK
            .register(
                    "common.trans.top",
                    function(a) {
                        var b = a.kit.io.inter(), c = b.register, d = document.domain == "www.weibo.com" ? "http://www.weibo.com"
                                : "http://weibo.com";
                        c("suggest", {
                            url : "http://s.weibo.com/ajax/topsuggest.php",
                            requestMode : "jsonp",
                            method : "get"
                        });
                        c("setRead", {
                            url : d + "/aj/remind/reset",
                            requestMode : "jsonp",
                            method : "get"
                        });
                        c("application", {
                            url : d + "/aj/top/myapp",
                            requestMode : "jsonp",
                            method : "get"
                        });
                        c("group", {
                            url : d + "/aj/top/myqun",
                            requestMode : "jsonp",
                            method : "get"
                        });
                        c("game", {
                            url : d + "/aj/top/game",
                            requestMode : "jsonp",
                            method : "get"
                        });
                        return b
                    });
    STK.register("kit.dom.parseDOM", function(a) {
        return function(a) {
            for ( var b in a)
                a[b] && a[b].length == 1 && (a[b] = a[b][0]);
            return a
        }
    });
    STK.register("kit.dom.hover", function(a) {
        return function(b) {
            var c = b.delay || 100, d = b.isover || !1, e = b.act, f = b.extra
                    || [], g = null, h = function(a) {
                d && b.onmouseover.apply(e, [ a ])
            }, i = function(a) {
                d || b.onmouseout.apply(e, [ a ])
            }, j = function(a) {
                d = !0;
                g && clearTimeout(g);
                g = setTimeout(function() {
                    h(a)
                }, c)
            }, k = function(a) {
                d = !1;
                g && clearTimeout(g);
                g = setTimeout(function() {
                    i(a)
                }, c)
            };
            a.core.evt.addEvent(e, "mouseover", j);
            a.core.evt.addEvent(e, "mouseout", k);
            for ( var l = 0, m = f.length; l < m; l += 1) {
                a.core.evt.addEvent(f[l], "mouseover", j);
                a.core.evt.addEvent(f[l], "mouseout", k)
            }
            var n = {};
            n.destroy = function() {
                a.core.evt.removeEvent(e, "mouseover", j);
                a.core.evt.removeEvent(e, "mouseout", k);
                for ( var b = 0, c = f.length; b < c; b += 1) {
                    a.core.evt.removeEvent(f[b], "mouseover", j);
                    a.core.evt.removeEvent(f[b], "mouseout", k)
                }
            };
            return n
        }
    });
    STK.register("common.dialog.loginLayer", function(a) {
        var b = "http://tjs.sjs.sinajs.cn/t4/", c, d = b
                + "home/js/public/topLogin.js?version=201204091020";
        return function(b) {
            b = a.core.obj.parseParam({
                lang : "zh-cn",
                loginSuccessUrl : window.location.href
            }, b);
            b.loginSuccessUrl = "http://weibo.com/login.php?url="
                    + b.loginSuccessUrl;
            if (window.WBtopPublicLogin)
                WBtopPublicLogin.showLoginLayer(b);
            else {
                if (c)
                    return;
                c = !0;
                a.core.io.scriptLoader({
                    url : d,
                    onComplete : function() {
                        c = !1;
                        window.WBtopPublicLogin.showLoginLayer(b)
                    },
                    timeout : 1e4,
                    onTimeout : function() {
                        c = !1
                    }
                })
            }
        }
    });
    STK
            .register(
                    "comp.content.top",
                    function(a) {
                        var b = window.$CONFIG && window.$CONFIG.any || "", c = b ? "?&topnav=1&topsug=1"
                                : "?&topsug=1", d = "http://q.weibo.com", e = "http://s.weibo.com", f = "http://"
                                + (document.domain == "www.weibo.com" ? "www.weibo.com"
                                        : "weibo.com"), g = "http://img.t.sinajs.cn/t4/", h = "http://q.weibo.com", i = "http://rm.api.weibo.com/remind/unread_count.json?target=api", j = e
                                + "/weibo/", k = e + "/user/", l = e + "/q/", m = e
                                + "/apps/", n = '<#et suggest data><div class="selectbox"><p action-type="select" isStatic="1" durl="'
                                + j
                                + "${data.keywordlong}"
                                + c
                                + '" class="title current">搜 “<span class="c_red">${data.keyword}</span>” #L{相关微博}»</p></div>'
                                + '<div class="selectbox">'
                                + '<p action-type="select" class="title" isStatic="1" durl="'
                                + k
                                + "${data.keywordlong}"
                                + c
                                + '">搜 “<span class="c_red">${data.keyword}</span>” #L{相关用户}»</p>'
                                + "</div>" + "</#et>", o = '<#et suggest data><div class="selectbox"><p action-type="select" isStatic="1" durl="'
                                + j
                                + "${data.keywordlong}"
                                + c
                                + '" class="title current">搜 “<span class="c_red">${data.keyword}</span>” #L{相关微博}»</p>'
                                + "<#list data.querys as list>"
                                + '<p class="keyword" action-type="select" suda-data="key=${list.sudaKey}&value=${list.sudaValue}" durl="'
                                + j
                                + "${list.ekey}"
                                + c
                                + '">${list.key}</p>'
                                + "</#list>"
                                + "</div>"
                                + '<div class="selectbox">'
                                + '<p action-type="select" class="title" isStatic="1" durl="'
                                + k
                                + "${data.keywordlong}"
                                + c
                                + '">搜 “<span class="c_red">${data.keyword}</span>” #L{相关用户}»</p>'
                                + "<#if (data.userlist.length)>"
                                + '<div node-type="userResult">'
                                + "<#list data.userlist as list>"
                                + '<dl class="clearfix" action-type="select" suda-data="key=${list.sudaKey}&value=${list.sudaValue}" durl="'
                                + f
                                + "/u/${list.u_id}"
                                + c
                                + '">'
                                + '<dt><img height="30" width="30" src="${list.u_pic}"></dt>'
                                + "<dd>"
                                + '<span><!--start-->${list.u_name}<!--end--><#if (list.is_v)><img class="<#if (list.verified_type)> approve_co<#else> approve</#if>" alt="" src="${data.imgPath}style/images/common/transparent.gif"></#if><#if (list.verified_type == 220)><img class="ico_club" alt="#L{微博达人}" title="#L{微博达人}" src="http://img.t.sinajs.cn/t4/style/images/common/transparent.gif"></#if></span>'
                                + '<p class="area txtb">'
                                + '<span class="${list.sex=="m"?"male":"female"}"></span> '
                                + "<!--start-->#L{粉丝}:${list.fans_n} <#if (list.prov)>${list.prov}</#if><!--end-->"
                                + "</p>"
                                + "</dd>"
                                + "</dl>"
                                + "</#list>"
                                + "</div>" + "</#if>" + "</div>" + "</#et>", p = '<#et suggest data><#if (data.weiqun)><div class="selectbox"><p action-type="select" class="title" isStatic="1" durl="'
                                + l
                                + "${data.keywordlong}"
                                + c
                                + '">搜 “<span class="c_red">${data.keyword}</span>” #L{相关微群}»</p>'
                                + '<div node-type="weiqunResult">'
                                + '<dl class="clearfix" action-type="select" suda-data="key=tblog_top_search_v4&value=weiqunc" durl="'
                                + d
                                + "/${data.weiqun.id}"
                                + c
                                + '">'
                                + '<dt><span><img height="30" width="30" src="${data.weiqun.pic}"></span></dt>'
                                + "<dd>"
                                + '<span><!--start-->${data.weiqun.name}<!--end--><span class="${data.weiqun.grade}"></span></span>'
                                + '<p class="txtb member">#L{成员}:${data.weiqun.members}</p>'
                                + "</dd>"
                                + "</dl>"
                                + "</div>"
                                + "</div>"
                                + "</#if>"
                                + "<#if (data.app)>"
                                + '<div class="selectbox">'
                                + '<p action-type="select" class="title" isStatic="1" durl="'
                                + m
                                + "${data.keywordlong}"
                                + c
                                + '">搜 “<span class="c_red">${data.keyword}</span>” #L{相关应用}»</p>'
                                + '<div node-type="appResult">'
                                + '<dl class="clearfix" action-type="select" suda-data="key=tblog_top_search_v4&value=appc" durl="${data.app.link}'
                                + c
                                + '">'
                                + '<dt><span><img height="30" width="30" src="${data.app.pic}"></span></dt>'
                                + "<dd>"
                                + "<span><!--start-->${data.app.name}<!--end--></span>"
                                + '<p class="txtb">#L{用户}:${data.app.owner_n}</p>'
                                + "</dd>"
                                + "</dl>"
                                + "</div>"
                                + "</div>"
                                + "</#if>" + "</#et>", q = '<#et app data><#if (data.offical_app)><ul class="app_list"><#list data.offical_app as list><li><a href="${list.link}" title="${list.name}" target="_top"><img height="16" width="16" alt="${list.name}" src="${list.icon}">${list.sname}</a></li></#list></ul></#if><#if (data.my_app)><div class="recent_app_list"><div class="app_title clearfix"><p><a target="_top" title="#L{管理应用}" href="http://account.weibo.com/settings/connections?topnav=1'
                                + b
                                + '">#L{管理应用}</a><em class="W_vline">|</em><a target="_top" title="#L{浏览更多}" href="'
                                + f
                                + "/app?topnav=1"
                                + b
                                + '">#L{浏览更多}</a></p><h3>#L{${(data.my_app[0].category_id=="3")? "最近使用":"推荐应用"}}</h3></div>'
                                + "<ul>"
                                + "<#list data.my_app as list>"
                                + '<li><div><a target="_top" href="${list.link}" title="${list.name}" class="app_pic_bg"></a><img style="width: 50px; height: 50px;" alt="${list.name}" src="${list.icon}" class="app_img"></div><a target="_top" class="app_name" href="${list.link}">${list.sname}</a><p>${(list.category_id=="4")?"<em></em>":list.time}</p></li>'
                                + "</#list>"
                                + "</ul>"
                                + "</div>"
                                + "</#if>"
                                + "</#et>", r = '<#et game data><div class="border clearfix"><ul class="game_recommend clearfix"><#list data.suggest as list><li><a target="_top" href="${list.game_url}" title="${list.description}"><img width="100" height="50" src="${list.thumbnail}" />${list.name}</a></li></#list></ul></div><div class="border clearfix"><#if (data.my.length)><ul class="yy_list"><#list data.my as list><li><a target="_top" href="${list.game_url}"><img width="16" height="16" src="${list.icon}" />${list.name}</a></li></#list></ul><#if (data.myB)><ul class="yy_list"><#list data.myB as list><li><a target="_top" href="${list.game_url}"><img width="16" height="16" src="${list.icon}" />${list.name}</a></li></#list></ul></#if><#else><div class="zero">#L{你还没有玩过任何游戏，现在就去}<a target="_top" href="http://game.weibo.com?origin=1021&topnav=1'
                                + b
                                + '">#L{体验一下}</a>#L{吧}!</div>'
                                + "</#if>"
                                + "</div>" + "</#et>", s = '<#et plaza data><div class="border clearfix"><ul class="yy_list group_list"><li><a target="_top" href="http://verified.weibo.com?topnav=1'
                                + b
                                + '"><img width="16" height="16" alt="#L{名人堂}" src="${data.imgPath}style/images/common/ico_fame.gif">#L{名人堂}</a></li>'
                                + '<li><a target="_top" href="http://club.weibo.com?topnav=1'
                                + b
                                + '"><img width="16" height="16" alt="#L{微博达人}" src="${data.imgPath}style/images/common/ico_talstat.png">#L{微博达人}</a></li>'
                                + '<li><a target="_top" href="http://data.weibo.com/top?topnav=1'
                                + b
                                + '"><img width="16" height="16" alt="#L{风云榜}" src="${data.imgPath}style/images/common/ico_toplistof.gif">#L{风云榜}</a></li>'
                                + '<li><a target="_top" href="http://topic.weibo.com?topnav=1'
                                + b
                                + '"><img width="16" height="16" alt="#L{微话题}" src="${data.imgPath}style/images/common/ico_topic.gif">#L{微话题}</a></li>'
                                + '<li><a target="_top" href="'
                                + f
                                + "/jx/pic.php?topnav=1"
                                + b
                                + '"><img width="16" height="16" alt="#L{微博精选}" src="${data.imgPath}style/images/common/ico_handpick.png">#L{微博精选}</a></li>'
                                + '<li><a target="_top" href="'
                                + f
                                + "/pub/news?topnav=1"
                                + b
                                + '"><img width="16" height="16" alt="#L{随便看看}" src="${data.imgPath}style/images/common/ico_browsing.png">#L{随便看看}</a></li>'
                                + '<li><a target="_top" href="'
                                + f
                                + "/pub/city?source=toptray&topnav=1"
                                + b
                                + '"><img width="16" height="16" alt="#L{同城微博}" src="${data.imgPath}style/images/common/ico_city.png">#L{同城微博}</a></li>'
                                + '<li><a target="_top" href="http://talk.weibo.com/?topnav=1'
                                + b
                                + '"><img width="16" height="16" alt="#L{微访谈}" src="${data.imgPath}style/images/common/ico_interview.gif">#L{微访谈}</a></li>'
                                + '<li><a target="_top" href="http://live.weibo.com/?topnav=1'
                                + b
                                + '"><img width="16" height="16" alt="#L{微直播}" src="${data.imgPath}style/images/common/ico_microlive.gif">#L{微直播}</a></li>'
                                + '<li><a target="_top" href="http://screen.weibo.com/?topnav=1'
                                + b
                                + '"><img width="16" height="16" alt="#L{大屏幕}" src="${data.imgPath}style/images/common/ico_screen.png">#L{大屏幕}</a></li>'
                                + '<li><a target="_top" href="'
                                + f
                                + "/pub/topmblog?type=re&act=day&topnav=1"
                                + b
                                + '"><img width="16" height="16" alt="#L{热门微博}" src="${data.imgPath}style/images/common/ico_hot_fw.gif" >#L{热门微博}</a></li>'
                                + "</ul>" + "</div>" + "</#et>", t = '<#et group data><#if (data.my)><div class="border clearfix"><ul class="yy_list group_list"><#list data.my as list><li><#if (list.g_new!="0")><span class="W_count"><span>${list.g_new}</span></span></#if><a target="_top" href="'
                                + d
                                + "/${list.gid}?topnav=1"
                                + b
                                + '"><img width="16" height="16" alt="${list.g_name}" src="${list.g_logo}">${list.g_name}</a></li>'
                                + "</#list>"
                                + "</ul>"
                                + "<#if (data.myB)>"
                                + '<ul class="yy_list group_list">'
                                + "<#list data.myB as list>"
                                + '<li><#if (list.g_new!="0")><span class="W_count"><span>${list.g_new}</span></span></#if><a target="_top" href="'
                                + d
                                + "/${list.gid}?topnav=1"
                                + b
                                + '"><img width="16" height="16" alt="${list.g_name}" src="${list.g_logo}">${list.g_name}</a></li>'
                                + "</#list>"
                                + "</ul>"
                                + "</#if>"
                                + "</div>"
                                + "<#else>"
                                + '<div class="border">'
                                + '<div class="zero">#L{你还没有加入任何微群，现在就去}<a target="_top" href="'
                                + h
                                + "?topnav=1"
                                + b
                                + '">#L{发现微群}</a>#L{吧}!</div>'
                                + "</div>"
                                + "<#if (data.suggest&&data.suggest.length)>"
                                + '<table cellspacing="0" cellpadding="0" border="0" class="layer_title">'
                                + "<thead>"
                                + "<tr>"
                                + '<td class="line">&nbsp;</td>'
                                + '<td nowrap="">&nbsp;#L{热门微群推荐}&nbsp;</td>'
                                + '<td class="line">&nbsp;</td>'
                                + "</tr>"
                                + "</thead>"
                                + "</table>"
                                + '<div class="border clearfix">'
                                + '<ul class="yy_list group_list">'
                                + "<#list data.suggest as list>"
                                + '<li><a target="_top" href="'
                                + d
                                + '/${list.gid}"><img width="16" height="16" alt="${list.g_name}" src="${list.g_logo}">${list.g_name}</a></li>'
                                + "</#list>"
                                + "</ul>"
                                + "<#if (data.suggestB)>"
                                + '<ul class="yy_list group_list">'
                                + "<#list data.suggestB as list>"
                                + '<li><a target="_top" href="'
                                + d
                                + '/${list.gid}"><img width="16" height="16" alt="${list.g_name}" src="${list.g_logo}">${list.g_name}</a></li>'
                                + "</#list>"
                                + "</ul>"
                                + "</#if>"
                                + "</div>"
                                + "</#if>" + "</#if>" + "</#et>", u = '<#et tip data><#if (data.comment)><li${data.isNotice}>${data.comment}#L{条新评论}， <a target="_top" action-type="bp-link" bpfilter="main" href="'
                                + f
                                + "/comment/inbox?f=1&topnav=1"
                                + b
                                + '">#L{查看评论}</a></li>'
                                + "</#if>"
                                + "<#if (data.attention)>"
                                + '<li${data.isNotice}>${data.attention}#L{位新粉丝}， <a target="_top" href="'
                                + f
                                + "/${data.userId}/fans?topnav=1"
                                + b
                                + '">#L{查看粉丝}</a></li>'
                                + "</#if>"
                                + "<#if (data.msg)>"
                                + '<li${data.isNotice}>${data.msg}#L{条新私信}， <a target="_top" action-type="bp-link" action-data="goMsg=stop" bpfilter="main" href="'
                                + f
                                + "/messages?topnav=1"
                                + b
                                + '">#L{查看私信}</a></li>'
                                + "</#if>"
                                + "<#if (data.atme)>"
                                + '<li${data.isNotice}>${data.atme}#L{条新@提到我}， <a target="_top" action-type="bp-link" bpfilter="main" href="${data.atlink}?topnav=1'
                                + b
                                + '">#L{查看@我}</a></li>'
                                + "</#if>"
                                + "<#if (data.group)>"
                                + '<li${data.isNotice}>${data.group}#L{条群内新消息}， <a target="_top" href="'
                                + d
                                + "/message/proxJump.php?topnav=1"
                                + b
                                + '">#L{查看消息}</a></li>'
                                + "</#if>"
                                + "<#if (data.photo)>"
                                + '<li${data.isNotice}>${data.photo}#L{条相册新消息}， <a target="_top" href="http://photo.weibo.com/messages/index?topnav=1'
                                + b
                                + '">#L{查看消息}</a></li>'
                                + "</#if>"
                                + "<#if (data.notice)>"
                                + '<li${data.isNotice}>${data.notice}#L{条新通知}， <a target="_top" href="'
                                + f
                                + "/systemnotice?topnav=1"
                                + b
                                + '">#L{查看通知}</a></li>'
                                + "</#if>"
                                + "<#if (data.invite)>"
                                + '<li${data.isNotice}>${data.invite}#L{条新邀请}， <a target="_top" href="'
                                + f
                                + "/invite/recv.php?topnav=1"
                                + b
                                + '">#L{查看邀请}</a></li>' + "</#if>" + "</#et>", v = '<#et tip data><#if (data.showTip)><li class="line"></li></#if><#if (data.comment)><li><a target="_top" action-type="bp-link" action-data="hide=true" bpfilter="main" href="'
                                + f
                                + "/comment/inbox?f=1&topnav=1"
                                + b
                                + '">#L{查看评论}</a></li>'
                                + "</#if>"
                                + "<#if (data.attention)>"
                                + '<li><a target="_top" href="'
                                + f
                                + "/${data.userId}/fans?topnav=1"
                                + b
                                + '">#L{查看粉丝}</a></li>'
                                + "</#if>"
                                + "<#if (data.msg)>"
                                + '<li><a target="_top" action-type="bp-link" action-data="hide=true" bpfilter="main" href="'
                                + f
                                + "/messages?topnav=1"
                                + b
                                + '">#L{查看私信}</a></li>'
                                + "</#if>"
                                + "<#if (data.atme)>"
                                + '<li><a target="_top" action-type="bp-link" action-data="hide=true" bpfilter="main" href="'
                                + f
                                + "/at/weibo?topnav=1"
                                + b
                                + '">#L{查看@我}</a></li>'
                                + "</#if>"
                                + "<#if (data.group)>"
                                + '<li><a target="_top" href="'
                                + d
                                + "/message/proxJump.php?topnav=1"
                                + b
                                + '">#L{查看群内消息}</a></li>'
                                + "</#if>"
                                + "<#if (data.photo)>"
                                + '<li><a target="_top" href="http://photo.weibo.com/messages/index?topnav=1'
                                + b
                                + '">#L{查看相册消息}</a></li>'
                                + "</#if>"
                                + "<#if (data.notice)>"
                                + '<li><a target="_top" href="'
                                + f
                                + "/systemnotice?topnav=1"
                                + b
                                + '">#L{查看通知}</a></li>'
                                + "</#if>"
                                + "<#if (data.invite)>"
                                + '<li><a target="_top" href="'
                                + f
                                + "/invite/recv.php?topnav=1"
                                + b
                                + '">#L{查看邀请}</a></li>' + "</#if>" + "</#et>", w = "<#et notice data><ul>${data.newMsg}${data.linkMsg}</ul></#et>", x = '<div class="W_loading"><span>#L{正在加载,请稍候...}</span></div>', y = "#L{搜索微博、找人}", z = 3e4, A = 1e4, B = 300, C = a.core.evt.addEvent, D = a.core.evt.removeEvent, E = a.core.evt.stopEvent, F = a.core.evt.preventDefault, G = a.core.evt.fixEvent, H = a.core.evt.delegatedEvent, I = a.core.str.trim, J = function(
                                b) {
                            var c = document.createTextNode(b), d = a.C("div");
                            d.appendChild(c);
                            var e = d.innerHTML;
                            d = c = null;
                            return e
                        }, K = a.core.str.leftB, L = a.core.arr.isArray, M = a.core.arr.indexOf, N = a.core.util.language, O = a.core.util.browser, P = a.core.util.easyTemplate, Q = a.core.util.getUniqueKey, R = a.core.dom.sizzle, S = a.core.dom.builder, T = a.core.dom.isNode, U = a.core.dom.contains, V = a.core.dom.position, W = a.core.dom.hasClassName, X = a.core.dom.addClassName, Y = a.core.dom.removeClassName, Z = a.core.obj.parseParam, $ = a.core.io.jsonp, _ = a.core.util.swf, ba = a.common.trans.top.getTrans, bb = a.common.channel.topTip, bc = a.kit.dom.hover, bd, be, bf, bg, bh, bi, bj = function() {
                            function a() {
                                this.subscribers = {}
                            }
                            a.prototype = {
                                publish : function(a, b) {
                                    this.subscribers[a] = this.subscribers[a]
                                            || [];
                                    for ( var c = 0; c < this.subscribers[a].length; c++) {
                                        var d = this.subscribers[a][c];
                                        if (typeof d == "function") {
                                            var e = [];
                                            for ( var f = 1, g = arguments.length; f < g; f++)
                                                e.push(arguments[f]);
                                            d.apply(this, e)
                                        }
                                    }
                                },
                                subscribe : function(a, b, c) {
                                    this.subscribers[a] = this.subscribers[a]
                                            || [];
                                    this.subscribers[a].push(function() {
                                        b.apply(c, arguments)
                                    })
                                }
                            };
                            window.__PubSub__ = window.__PubSub__ || new a
                        };
                        return function(b, c) {
                            var d, h, k, l, l, m, V, bk, bl, bm = {}, bn = 0, bo = 0, bp = {}, bq = {}, br = {}, bs = {}, bt, bu, bv = window.$CONFIG
                                    && window.$CONFIG.$webim == 1, bw, bx, by = 1, bz = 0, bA, bB, bC = {
                                suggestUserFun : function(a, b) {
                                    var c = b.key;
                                    if (a.key == l) {
                                        typeof bq[c] == "undefined"
                                                && (bq[c] = {});
                                        bq[c].userlist = a.data.user;
                                        var d;
                                        !a.data.querys && (a.data.querys = []);
                                        if (a.data.querys) {
                                            var e = '<span class="c_red">', f = "</span>";
                                            for ( var g = 0; g < a.data.querys.length; g++) {
                                                d = a.data.querys[g].key;
                                                a.data.querys[g].ekey = encodeURIComponent(d);
                                                a.data.querys[g].key = d
                                                        .replace(new RegExp(c,
                                                                "g"), e + c + f)
                                            }
                                        }
                                        d = g = null;
                                        bq[c].querys = a.data.querys;
                                        bE.rendBasic(bq[c], c)
                                    }
                                },
                                suggestPlusFun : function(a, b) {
                                    var c = b.key;
                                    if (a.key == l) {
                                        typeof bq[c] == "undefined"
                                                && (bq[c] = {});
                                        var d = !1, e;
                                        for ( var f in a.data) {
                                            e = a.data[f];
                                            bq[c][f] = e;
                                            e !== null && (d = !0)
                                        }
                                        d || (bq[c].noPlusResult = !0);
                                        bE.rendPlus(bq[c], c)
                                    }
                                },
                                suggestUser : ba("suggest", {
                                    onComplete : function(a, b) {
                                        bC.suggestUserFun(a, b);
                                        bC.suggestPlusFun(a, b)
                                    },
                                    onSuccess : function() {
                                    },
                                    onError : function() {
                                    }
                                }),
                                cleanTipsNumber : ba("setRead", {
                                    onComplete : function() {
                                    },
                                    onSuccess : function() {
                                    },
                                    onError : function() {
                                    }
                                }),
                                getTrans : function(a) {
                                    return ba(a, {
                                        onComplete : function() {
                                        },
                                        onSuccess : function(b) {
                                            br[a] = !1;
                                            bk[a].cb(b.data)
                                        },
                                        onError : function() {
                                            br[a] = !1
                                        }
                                    })
                                }
                            }, bD = {
                                wordFilter : function(a) {
                                    return encodeURIComponent(encodeURIComponent(a))
                                },
                                setBasicSudaData : function(a, b) {
                                    if (b && L(b)) {
                                        var c = "tblog_top_search_v4";
                                        for ( var d = 0, e = b.length; d < e; d++) {
                                            b[d].sudaKey = c;
                                            b[d].sudaValue = a + (d + 1) + "c"
                                        }
                                    }
                                },
                                webimStarted : function() {
                                    bw = 1;
                                    by = 1;
                                    clearTimeout(bx)
                                },
                                webimShowMsg : function(a) {
                                    bz = parseInt(a, 10);
                                    bp.msg = bz;
                                    bD.rendTips(bp, !0)
                                },
                                showLoginLayer : function(b) {
                                    a.common.dialog.loginLayer(b)
                                },
                                adjustTopPos : function() {
                                    clearTimeout(bl);
                                    bl = setTimeout(bD.adjustTopPosImpl, 100)
                                },
                                adjustTopPosImpl : function() {
                                    var b = a.core.util.scrollPos().top, c;
                                    b > bs.topHeight - 2 ? c = b
                                            : c = bs.topHeight - 2;
                                    h.tipsLayer.style.top = c + "px"
                                },
                                isVisible : function(a) {
                                    return a && a.offsetWidth && a.offsetHeight
                                },
                                getNewJson : function(a) {
                                    var b = {}, c = [ [ "feed", "status" ],
                                            [ "attention", "follower" ],
                                            [ "comment", "cmt" ],
                                            [ "msg", "dm" ],
                                            [ "atme", "mention_status" ],
                                            [ "atcmt", "mention_cmt" ],
                                            [ "group", "group" ],
                                            [ "notice", "notice" ],
                                            [ "invite", "invite" ],
                                            [ "badge", "badge" ],
                                            [ "photo", "photo" ] ], d = c.length, e;
                                    for ( var f = 0; f < d; f++) {
                                        e = c[f];
                                        b[e[0]] = a[e[1]]
                                    }
                                    return b
                                },
                                sendRequest : function() {
                                    var a = V.access_token ? "&access_token="
                                            + V.access_token : V.access_token;
                                    $({
                                        url : i + "&_pid=" + V.pid + "&count="
                                                + bn + "&source=" + V.source
                                                + a,
                                        onComplete : function(a) {
                                            bn++;
                                            if (a.code == "A00006") {
                                                a.data = bD.getNewJson(a.data);
                                                bD.rendTips(a.data);
                                                bp = a.data;
                                                bb.fire("refresh", bp)
                                            }
                                        },
                                        onFail : function() {
                                        },
                                        onTimeout : function() {
                                        }
                                    })
                                },
                                getLayerData : function(a) {
                                    if (a != "plaza") {
                                        var b = [ "game", "group",
                                                "application" ];
                                        bC.getTrans(a).request();
                                        M(a, b) >= 0 && setTimeout(function() {
                                            br[a] = !0
                                        }, A)
                                    } else
                                        h.plazaContent.innerHTML = P(N(s, bi),
                                                {
                                                    imgPath : bh
                                                })
                                },
                                getSearchSuggest : function(a) {
                                    bE.rendStatic(a);
                                    bE.suggestShow();
                                    if (typeof bq[a] != "undefined") {
                                        bE.rendBasic(bq[a], a);
                                        !bq[a].noPlusResult && !bq[a].app
                                                && !bq[a].weiqun
                                                || bE.rendPlus(bq[a], a)
                                    } else {
                                        l = Q();
                                        bC.suggestUser.request({
                                            key : a,
                                            _k : l,
                                            uid : bd
                                        })
                                    }
                                },
                                replaceWeiqunClass : function(a) {
                                    if (!!a) {
                                        typeof a.grade != "undefined"
                                                && (a.grade = "mg_rankicon"
                                                        + (parseInt(a.grade) < 10 ? "0"
                                                                + a.grade
                                                                : a.grade));
                                        return a
                                    }
                                },
                                getTipsResult : function(a, b, c, d) {
                                    var e = {}, g = [ "comment", "attention",
                                            "msg", "atme", "group", "notice",
                                            "invite", "photo" ], h;
                                    for ( var i = 0; i < g.length; i++)
                                        if (h = h || a[g[i]])
                                            break;
                                    e.showTip = h;
                                    if (h) {
                                        var j = [], k = [];
                                        for ( var i = 0; i < g.length; i++) {
                                            var l = g[i];
                                            a[l] ? j.push(l) : k.push(l)
                                        }
                                        e.newMsg = j;
                                        e.linkMsg = k;
                                        try {
                                            window.external
                                                    .msSiteModeSetIconOverlay(
                                                            "http://img.t.sinajs.cn/t4/style/images/common/favicon/newMsg.ico",
                                                            "新消息")
                                        } catch (m) {
                                        }
                                    } else {
                                        e.newMsg = [];
                                        e.linkMsg = g;
                                        try {
                                            window.external
                                                    .msSiteModeClearIconOverlay()
                                        } catch (m) {
                                        }
                                    }
                                    e.newMsg = bD.arrToObj(e.newMsg, a);
                                    e.linkMsg = bD.arrToObj(e.linkMsg, a, !0);
                                    e.linkMsg.userId = bd;
                                    e.linkMsg.atlink = c == 0 && d != 0 ? f
                                            + "/at/comment" : f + "/at/weibo";
                                    return e
                                },
                                arrToObj : function(a, b, c) {
                                    var d = {};
                                    for ( var e = 0; e < a.length; e++) {
                                        var f = a[e];
                                        c ? d[f] = 1 : d[f] = b[f]
                                    }
                                    return d
                                },
                                tipsCompareIsNew : function(a, b) {
                                    return bD.compareObjEquals(a, b)
                                },
                                compareObjEquals : function(a, b) {
                                    a = a || {};
                                    b = b || {};
                                    var c = 0, d = 0;
                                    for ( var e in a)
                                        c++;
                                    for ( var e in b)
                                        d++;
                                    if (c != d)
                                        return !0;
                                    var f = !1;
                                    for ( var e in a)
                                        if (a[e] != b[e]) {
                                            f = !0;
                                            break
                                        }
                                    return f
                                },
                                rendLayerTips : function(a) {
                                    var b = bD.tipsCompareIsNew(a.newMsg, bt);
                                    if (b)
                                        if (a.showTip) {
                                            a.newMsg.atlink = a.linkMsg.atlink;
                                            a.newMsg.userId = a.linkMsg.userId;
                                            a.newMsg.isNotice = "";
                                            var c = P(N(u, bi), a.newMsg);
                                            h.tipsContent.innerHTML = c;
                                            O.IE6 && bD.adjustTopPos();
                                            h.layerNotice.style.display == "none"
                                                    && (h.tipsLayer.style.display = "")
                                        } else {
                                            h.tipsLayer.style.display = "none";
                                            h.tipsContent.innerHTML = ""
                                        }
                                    return b
                                },
                                rendNoticeTips : function(a, b) {
                                    if (b) {
                                        a.newMsg.isNotice = ' class="message"';
                                        a.linkMsg.showTip = a.showTip;
                                        var c = P(N(u, bi), a.newMsg), d = P(N(
                                                v, bi), a.linkMsg), e = P(N(w,
                                                bi), {
                                            newMsg : c,
                                            linkMsg : d
                                        });
                                        h.noticeContent.innerHTML = e
                                    }
                                    delete a.newMsg.isNotice;
                                    delete a.newMsg.atlink;
                                    delete a.newMsg.userId;
                                    bt = a.newMsg
                                },
                                rendTips : function(a, b) {
                                    var c = Z(a, {}), d = Z(bp, {}), e = c.atme, f = c.atcmt;
                                    c.atme += c.atcmt;
                                    d.atme += d.atcmt;
                                    bv && !b && (by || bw) && (c.msg = bz);
                                    var g = bD.getTipsResult(c, d, e, f), h = bD
                                            .rendLayerTips(g);
                                    bD.rendNoticeTips(g, h)
                                },
                                rendApp : function(a) {
                                    var b = a.my_app, c = a.offical_app;
                                    for ( var d = 0; d < c.length; d++)
                                        c[d].sname = K(c[d].name, 8);
                                    for ( var d = 0; d < b.length; d++)
                                        b[d].sname = K(b[d].name, 10);
                                    h.appContent.innerHTML = P(N(q, bi), a)
                                },
                                rendGame : function(a) {
                                    for ( var b in a)
                                        if (L(a[b])) {
                                            for ( var c = 0; c < a[b].length; c++)
                                                a[b][c].name = K(a[b][c].name,
                                                        12);
                                            a[b].length > 6
                                                    && (a[b + "B"] = a[b]
                                                            .splice(6, 6));
                                            a[b].length > 6
                                                    && (a[b] = a[b]
                                                            .splice(0, 6))
                                        }
                                    h.gameContent.innerHTML = P(N(r, bi), a)
                                },
                                rendGroup : function(a) {
                                    var b;
                                    for ( var c in a)
                                        if (L(a[c])) {
                                            for ( var d = 0; d < a[c].length; d++) {
                                                a[c][d].g_name = K(
                                                        a[c][d].g_name, 12);
                                                b = parseInt(a[c][d].g_new) || 0;
                                                b > 99 ? b = "99+" : b = b
                                                        .toString();
                                                a[c][d].g_new = b
                                            }
                                            a[c].length > 10
                                                    && (a[c + "B"] = a[c]
                                                            .splice(10, 10));
                                            a[c].length > 10
                                                    && (a[c] = a[c].splice(0,
                                                            10))
                                        }
                                    h.groupContent.innerHTML = P(N(t, bi), a);
                                    var e = R("ul.group_list li",
                                            h.groupContent).length;
                                    e > 10 ? h.layerGroup.style.width = "270px"
                                            : h.layerGroup.style.width = "135px"
                                },
                                bindHover : function(a) {
                                    bc({
                                        act : bk[a].act,
                                        delay : B,
                                        extra : [ bk[a].layer ],
                                        onmouseover : function() {
                                            bE.showHover(a)
                                        },
                                        onmouseout : function() {
                                            bE.hideHover(a)
                                        }
                                    })
                                },
                                surprise : function(a) {
                                    var b = bD.strFilter(h.searchInput.value);
                                    if (a == "@") {
                                        h.searchInput.value = "";
                                        window.top.location.href = f + "/n/"
                                                + b;
                                        return !0
                                    }
                                    if (a == "#") {
                                        h.searchInput.value = "";
                                        window.top.location.href = "http://s.weibo.com/weibo/"
                                                + b;
                                        return !0
                                    }
                                    return !1
                                },
                                strFilter : function(a) {
                                    return I(a).replace(
                                            /[\\\$\^\*\.\[\]\(\)\{\}\?]/g, "")
                                }
                            }, bE = {
                                emptySearchSubmit : function(a) {
                                    a = G(a);
                                    if (a.keyCode == 13) {
                                        var b = I(h.searchInput.value);
                                        if (b == "" && !bB) {
                                            window.top.location.href = e;
                                            return
                                        }
                                    }
                                },
                                loginBtn : function() {
                                    bD.showLoginLayer(V);
                                    F()
                                },
                                closeTip : function() {
                                    h.tipsLayer.style.display = "none";
                                    h.tipsContent.innerHTML = "";
                                    bC.cleanTipsNumber.request();
                                    var a = {
                                        comment : 1,
                                        attention : 1,
                                        msg : 1,
                                        atme : 1,
                                        group : 1,
                                        notice : 1,
                                        invite : 1,
                                        atcmt : 1,
                                        photo : 1
                                    };
                                    for ( var b in a)
                                        typeof bp[b] != "undefined"
                                                && (bp[b] = 0);
                                    bD.rendTips(bp);
                                    bb.fire("refresh", bp);
                                    F()
                                },
                                menuChoose : function(b, c) {
                                    if (c) {
                                        var d = arguments[0], e = {}, f = /^[\\|\/](.+)/;
                                        e[be] = h.home;
                                        e[bd] = h.home;
                                        e.home = h.home;
                                        d = d.replace(f, "$1").replace(
                                                /[\\|\/]/ig, "|");
                                        for ( var g in e)
                                            e[g] && Y(e[g], "current");
                                        a.addClassName(e[d], "current")
                                    }
                                },
                                searchInputCheck : function(a) {
                                    return a === "" || a === N(y, bi) ? !1 : !0
                                },
                                searchFocus : function() {
                                    var a = h.searchInput, b = bD
                                            .strFilter(a.value), c = bE
                                            .searchInputCheck(b);
                                    b === N(y, bi) && (a.value = "");
                                    if (c) {
                                        bE.rendStatic(b);
                                        bE.suggestShow();
                                        bq[b] && bE.rendSuggest(bq[b], b)
                                    }
                                    a
                                            && a.parentNode
                                            && X(a.parentNode, "search_current");
                                    d = setInterval(bE.searchDetect, 200)
                                },
                                searchBlur : function() {
                                    var a = h.searchInput, b = bD
                                            .strFilter(a.value);
                                    h.searchInput.value = b === "" ? N(y, bi)
                                            : a.value;
                                    a
                                            && a.parentNode
                                            && Y(a.parentNode, "search_current");
                                    bE.suggestBlur();
                                    clearInterval(d)
                                },
                                suggestShow : function() {
                                    if (!bA) {
                                        h.searchSuggest.style.display = "";
                                        C(document, "click", bE.suggestBlur);
                                        C(h.searchInput, "keydown",
                                                bE.suggestKeySelect);
                                        bA = 1
                                    }
                                },
                                suggestHide : function() {
                                    if (!!bA) {
                                        h.searchSuggest.style.display = "none";
                                        D(document, "click", bE.suggestBlur);
                                        D(h.searchInput, "keydown",
                                                bE.suggestKeySelect);
                                        bA = 0;
                                        bE.suggestClear()
                                    }
                                },
                                suggestBlur : function() {
                                    var a = h.searchSuggest, b = a.parentNode, c = G().target;
                                    if (T(c) && U(b, c))
                                        return !1;
                                    bE.suggestHide()
                                },
                                searchDetect : function(a) {
                                    var b = h.searchInput, c = bD
                                            .strFilter(b.value), d = bE
                                            .searchInputCheck(c);
                                    if (k == c)
                                        return !1;
                                    k = c;
                                    if (!d) {
                                        bE.suggestHide();
                                        return !1
                                    }
                                    bD.getSearchSuggest(c)
                                },
                                rendStatic : function(a) {
                                    var b = {
                                        keyword : J(a.length > 12 ? K(a, 12)
                                                + "..." : a),
                                        keywordlong : bD.wordFilter(a)
                                    }, c = P(N(n), b).toString();
                                    h.basic.innerHTML = bE.suggestHighLight(a,
                                            c)
                                },
                                rendBasic : function(a, b) {
                                    a.imgPath = bh;
                                    a.keywordlong = bD.wordFilter(b);
                                    a.keyword = J(b.length > 12 ? K(b, 12)
                                            + "..." : b);
                                    bD.setBasicSudaData("user_0", a.userlist);
                                    bD.setBasicSudaData("key_0", a.querys);
                                    if (a.userlist || a.querys) {
                                        var c = P(N(o), a).toString();
                                        h.basic.innerHTML = bE
                                                .suggestHighLight(b, c)
                                    }
                                },
                                rendPlus : function(a, b) {
                                    a.imgPath = bh;
                                    a.keywordlong = bD.wordFilter(b);
                                    a.keyword = J(b.length > 12 ? K(b, 12)
                                            + "..." : b);
                                    bD.replaceWeiqunClass(a.weiqun);
                                    a.app && (a.app.rank = a.app.rank * 20);
                                    var c = P(N(p), a).toString();
                                    h.plus.innerHTML = bE
                                            .suggestHighLight(b, c)
                                },
                                rendSuggest : function(a, b) {
                                    bE.rendBasic(a, b);
                                    bE.rendPlus(a, b)
                                },
                                suggestClear : function() {
                                    var a = [ h.basic, h.plus ];
                                    for ( var b = 0; b < a.length; b++)
                                        a[b].innerHTML = "";
                                    bo = 0
                                },
                                suggestHighLight : function(a, b) {
                                    var c = new RegExp(
                                            "<\\!\\-\\-start\\-\\->(.*?)<\\!\\-\\-end\\-\\->",
                                            "ig"), d = b.replace(c, function() {
                                        return arguments[1].replace(new RegExp(
                                                a, "g"),
                                                '<span node-type="input" class="c_red">'
                                                        + a + "</span>")
                                    });
                                    return d
                                },
                                suggestSelectInit : function() {
                                    var a = h.searchSuggest, b = H(a);
                                    b.add("select", "mouseover",
                                            bE.suggestSelect);
                                    b.add("select", "click", bE.goSuggest)
                                },
                                suggestSelect : function(a) {
                                    var b = R('[action-type="select"]',
                                            h.searchSuggest), c = M(a.el, b), d = R(
                                            ".current", h.searchSuggest)[0];
                                    if (bo == c || c < 0)
                                        return !1;
                                    d && Y(d, "current");
                                    b[c] && X(b[c], "current");
                                    bo = c
                                },
                                suggestKeySelect : function() {
                                    var a = G(), b = R(
                                            '[action-type="select"]',
                                            h.searchSuggest), c = b.length;
                                    if (c)
                                        for ( var d = 0; d < c; ++d) {
                                            W(b[d], "current") && (bo = d);
                                            Y(b[d], "current")
                                        }
                                    if (a.keyCode == "9" || a.keyCode == "27") {
                                        bE.suggestHide();
                                        h.searchInput.blur()
                                    } else if (a.keyCode == "38")
                                        bo--;
                                    else if (a.keyCode == "40")
                                        bo++;
                                    else if (a.keyCode == "13") {
                                        F();
                                        if (a.ctrlKey == !0 && bD.surprise("@"))
                                            return !1;
                                        if (a.shiftKey == !0
                                                && bD.surprise("#"))
                                            return !1;
                                        bE.goSuggest({
                                            el : b[bo]
                                        })
                                    }
                                    bo < 0 ? bo = c - 1 : bo > c - 1
                                            && (bo = 0);
                                    b[bo] && X(b[bo], "current")
                                },
                                goSuggest : function(a) {
                                    bB = 1;
                                    setTimeout(function() {
                                        bB = 0
                                    }, 50);
                                    var b = I(h.searchInput.value);
                                    if (b == "")
                                        window.top.location.href = e;
                                    else {
                                        h.searchInput.value = "";
                                        try {
                                            h.searchInput.blur()
                                        } catch (c) {
                                        }
                                        if (a.el) {
                                            var d = a.evt
                                                    && a.evt.type == "click";
                                            d && E(a.evt);
                                            var f = a.el
                                                    .getAttribute("suda-data");
                                            if (f) {
                                                f = f
                                                        .match(/key=.+?&value=(.+)$/)[1];
                                                d || (f = f.replace(/c$/, "k"));
                                                window.SUDA ? window.SUDA.uaTrack
                                                        && window.SUDA
                                                                .uaTrack(
                                                                        "tblog_top_search_v4",
                                                                        f)
                                                        : window.GB_SUDA
                                                                && window.GB_SUDA._S_uaTrack
                                                                && window.GB_SUDA
                                                                        ._S_uaTrack(
                                                                                "tblog_top_search_v4",
                                                                                f)
                                            }
                                            var g = a.el
                                                    .getAttribute("isStatic") === "1", i = a.el
                                                    .getAttribute("durl");
                                            g
                                                    && (i = i
                                                            .replace(
                                                                    /\/[^\/]+?(?=\?topnav=1)/,
                                                                    "/"
                                                                            + bD
                                                                                    .wordFilter(b)));
                                            setTimeout(function() {
                                                window.top.location.href = i
                                            }, 100)
                                        }
                                        bE.suggestHide()
                                    }
                                },
                                goSearch : function() {
                                    var a = I(h.searchInput.value);
                                    E();
                                    if (a === "" || a === N(y, bi))
                                        window.top.location.href = e;
                                    else {
                                        h.searchInput.value = "";
                                        window.top.location.href = j
                                                + bD.wordFilter(a)
                                                + "?topnav=1"
                                    }
                                },
                                showHover : function(a) {
                                    var b = bk[a].content;
                                    if (!bD.isVisible(b)) {
                                        "notice|account".indexOf(a) != -1
                                                && (h.tipsLayer.style.display = "none");
                                        var c = bk[a].act, d = bk[a].layer, e = br[a];
                                        if (a != "notice"
                                                && b
                                                && (typeof e == "undefined" || e)) {
                                            a != "plaza"
                                                    && (b.innerHTML = N(x));
                                            bD.getLayerData(a)
                                        }
                                        c == h[m] && Y(c, "current_page");
                                        d.style.display = "";
                                        X(c, "current")
                                    }
                                },
                                hideHover : function(a) {
                                    "notice|account".indexOf(a) != -1
                                            && (h.tipsLayer.style.display = R(
                                                    "li", h.tipsLayer).length ? ""
                                                    : "none");
                                    var b = bk[a].act, c = bk[a].layer;
                                    c.style.display = "none";
                                    Y(b, "current");
                                    b == h[m] && X(b, "current_page")
                                }
                            }, bF = {}, bG = {}, bH = function() {
                                bI();
                                bJ();
                                bK();
                                bj();
                                bL();
                                bM();
                                bN();
                                bO()
                            }, bI = function() {
                                var b = c || window.$CONFIG || {};
                                V = Z({
                                    uid : "",
                                    onick : "",
                                    islogin : "",
                                    language : null,
                                    lang : "zh-cn",
                                    bigpipe : !1,
                                    imgPath : g,
                                    page : null,
                                    setCover : !1,
                                    backurl : "/",
                                    loginSuccessUrl : window.location.href,
                                    pid : 0,
                                    source : 3818214747,
                                    access_token : ""
                                }, b);
                                V.lang == "zh-tw"
                                        && (V.language = V.language
                                                || a.common.extra.toplang);
                                c = c || {};
                                V = Z(V, c);
                                bd = V.uid;
                                be = V.onick;
                                bf = parseInt(V.islogin) || 0;
                                bi = V.language;
                                bg = V.bigpipe;
                                m = V.page;
                                bh = V.imgPath
                            }, bJ = function() {
                                c && c.html && (b.innerHTML = c.html);
                                h = a.kit.dom.parseDOM(S(b).list);
                                h[m] && X(h[m], "current_page");
                                h.searchInput.value = N(y, bi);
                                h.searchInput.setAttribute("name", Q());
                                if (bf) {
                                    var d = a.C("div");
                                    d.innerHTML = '<div class="layer_message_box" style="display:none;"><ul></ul><a class="W_close_color" href="javascript:void(0);"  action-type="closeTip"></a></div>';
                                    d = d.firstChild;
                                    R("div.header", b)[0].appendChild(d);
                                    h.tipsLayer = d;
                                    h.tipsContent = R("ul", d)[0];
                                    h.closeTip = R('a[action-type="closeTip"]',
                                            d)[0];
                                    bs.topHeight = R("div.global_header", b)[0].offsetHeight;
                                    var e = {
                                        photo : 1,
                                        comment : 1,
                                        attention : 1,
                                        msg : 1,
                                        atme : 1,
                                        group : 1,
                                        notice : 1,
                                        invite : 1,
                                        userId : bd
                                    }, f = "<ul>" + P(N(v, bi), e) + "</ul>";
                                    h.noticeContent.innerHTML = f;
                                    h.exit.href = h.exit.href
                                            .replace("backurl=/", "backurl="
                                                    + V.backurl)
                                }
                                var g = new Date, i = new Date(2012, 2, 8), j = new Date(
                                        2012, 2, 9);
                                if (!a.core.util.browser.IE6
                                        && _.check() !== -1 && g >= i && g <= j) {
                                    var k = R('div[class="logo"]', b)[0];
                                    if (k) {
                                        k.className = "";
                                        k.style.cssText = "width:190px;height:34px;position:absolute;left:0; margin:0 0 0 -27px;";
                                        var l = _
                                                .create(
                                                        k,
                                                        "http://js.t.sinajs.cn/t4/home/static/swf/logow.swf",
                                                        {
                                                            width : 190,
                                                            height : 34,
                                                            paras : {
                                                                quality : "high",
                                                                allowScriptAccess : "always",
                                                                wmode : "transparent",
                                                                allowFullscreen : !0
                                                            },
                                                            flashvars : {
                                                                color : "#ffffff"
                                                            }
                                                        })
                                    }
                                }
                            }, bK = function() {
                                bk = {
                                    application : {
                                        act : h.app,
                                        layer : h.layerApp,
                                        content : h.appContent,
                                        cb : bD.rendApp
                                    },
                                    group : {
                                        act : h.group,
                                        layer : h.layerGroup,
                                        content : h.groupContent,
                                        cb : bD.rendGroup
                                    },
                                    account : {
                                        act : h.account,
                                        layer : h.layerAccount
                                    },
                                    notice : {
                                        act : h.notice,
                                        layer : h.layerNotice,
                                        content : h.noticeContent
                                    },
                                    game : {
                                        act : h.game,
                                        layer : h.layerGame,
                                        content : h.gameContent,
                                        cb : bD.rendGame
                                    },
                                    plaza : {
                                        act : h.plaza,
                                        layer : h.layerPlaza,
                                        content : h.plazaContent
                                    }
                                }
                            }, bL = function() {
                                if (!!bf) {
                                    setTimeout(function() {
                                        bD.sendRequest();
                                        setInterval(bD.sendRequest, z)
                                    }, 3e3);
                                    bv && (bx = setTimeout(function() {
                                        bw ? by = 1 : by = 0
                                    }, 3e4))
                                }
                            }, bM = function() {
                                C(h.searchInput, "focus", bE.searchFocus);
                                C(h.searchInput, "blur", bE.searchBlur);
                                C(h.searchInput, "keydown",
                                        bE.emptySearchSubmit);
                                C(h.searchSubmit, "click", bE.goSearch);
                                bE.suggestSelectInit();
                                if (!bf)
                                    C(h.loginBtn, "click", bE.loginBtn);
                                else {
                                    if (O.IE6) {
                                        C(window, "scroll", bD.adjustTopPos);
                                        C(window, "resize", bD.adjustTopPos)
                                    }
                                    bu = H(b);
                                    bu.add("dyn-click", "click", function(a) {
                                        h.searchInput.value = "";
                                        window.top.location.href = a.el
                                                .getAttribute("durl")
                                    });
                                    bu
                                            .add(
                                                    "bp-link",
                                                    "click",
                                                    function(a) {
                                                        if (window.$CONFIG
                                                                && window.$CONFIG.bpType === "main"
                                                                && a.data.hide === "true") {
                                                            try {
                                                                a.el.blur()
                                                            } catch (b) {
                                                            }
                                                            h.layerNotice.style.display = "none";
                                                            Y(h.notice,
                                                                    "current")
                                                        }
                                                        if (bw
                                                                && a.data.goMsg === "stop") {
                                                            window.__PubSub__
                                                                    .publish(
                                                                            "webim.messageTipClicked",
                                                                            !0);
                                                            E(a.evt)
                                                        }
                                                    });
                                    var c = [ "application", "group",
                                            "account", "notice", "game",
                                            "plaza" ];
                                    for ( var d = 0; d < c.length; d++)
                                        bD.bindHover(c[d]);
                                    bg == "true"
                                            && a.historyM
                                            && a.historyM.onpopstate
                                            && a.historyM
                                                    .onpopstate(bE.menuChoose);
                                    C(h.closeTip, "click", bE.closeTip)
                                }
                            }, bN = function() {
                            }, bO = function() {
                                bb.register("readed", bD.sendRequest);
                                if (bv) {
                                    window.__PubSub__.subscribe(
                                            "webim.connected", bD.webimStarted);
                                    window.__PubSub__.subscribe(
                                            "webim.showMessage",
                                            bD.webimShowMsg)
                                }
                            };
                            bH();
                            bm.destroy = function() {
                            };
                            bm.showLoginLayer = bD.showLoginLayer;
                            (function() {
                                var a = window.$CONFIG || {};
                                a.show_login && bD.showLoginLayer()
                            })();
                            return bm
                        }
                    });
    var a = STK, b = {}, c = {
        imgPath : "http://img.t.sinajs.cn/t4"
    };
    a.listener = a.core.util.listener;
    a.parseParam = a.core.obj.parseParam;
    a.jsonp = a.core.io.jsonp;
    a.bLength = a.core.str.bLength;
    a.leftB = a.core.str.leftB;
    b.init = function(d) {
        var e = a.E("weibo_top_public"), h = d.islogin ? f : g;
        c.name = d.name;
        c.beautyname = a.bLength(c.name) > 12 ? a.leftB(c.name, 12) + "..."
                : c.name;
        c.verify = typeof d.verify != "undefined" ? d.verify : 0;
        c.uid = d.uid;
        c.icon = d.icon;
        c.search_switch = d.search_switch;
        c.inviteCode = d.inviteCode || window.$CONFIG
                && window.$CONFIG.inviteCode || "";
        c.entry = d.entry || window.$CONFIG && window.$CONFIG.entry || "";
        d.lang = d.lang || window.$CONFIG && window.$CONFIG.lang
                || window.$CONFIG && window.$CONFIG.$lang;
        var i = a.core.util.easyTemplate(h, c).toString();
        d.lang == "zh-tw" ? d.language = d.language || a.common.extra.toplang
                : d.language = null;
        e.innerHTML = a.core.util.language(i, d.language);
        var j = a.comp.content.top(e, d);
        b.showLoginLayer = j.showLoginLayer
    };
    b.register = function(b, c) {
        a.common.channel.topTip.register(b, c)
    };
    var d = window.$CONFIG && window.$CONFIG.any || "", e = "http://"
            + (document.domain == "www.weibo.com" ? "www.weibo.com"
                    : "weibo.com"), f = '<#et opts data><div class="global_header"><div class="header clearfix"><div class="logo"><a href="'
            + e
            + "?topnav=1"
            + d
            + '" title="#L{返回首页}" target="_top"></a></div>'
            + '<ul class="list">'
            + '<li><a href="'
            + e
            + "?topnav=1"
            + d
            + '" class="link" target="_top">#L{首页}</a></li>'
            + '<li node-type="plaza">'
            + '<a href="http://plaza.weibo.com?topnav=1'
            + d
            + '" class="link" target="_top">#L{广场}<span class="W_arr_d"><em class="b1"></em><em class="b2"></em><em class="b3"></em></span></a>'
            + '<div node-type="layerPlaza" style="width:135px;display:none;" class="layer_topmenu_list layer_topmenu_list_yy">'
            + '<div class="func"><span><a class="more" href="'
            + e
            + "/jx/pic.php?topnav=1"
            + d
            + '" target="_top">#L{微博精选}</a></span>#L{广场}</div>'
            + '<div node-type="plazaContent"></div>'
            + '<div class="func func_up"><span><a class="more" href="http://plaza.weibo.com?topnav=1'
            + d
            + '" target="_top">#L{查看更多有趣内容}</a></span></div>'
            + "</div>"
            + "</li>"
            + '<li node-type="group">'
            + '<a href="http://q.weibo.com?topnav=1'
            + d
            + '" class="link" target="_top">#L{微群}<span class="W_arr_d"><em class="b1"></em><em class="b2"></em><em class="b3"></em></span></a>'
            + '<div node-type="layerGroup" style="width: 270px;display:none" class="layer_topmenu_list layer_topmenu_list_yy"><div class="func"><span><a class="more" href="http://q.weibo.com?topnav=1'
            + d
            + '" target="_top">#L{发现微群}</a></span>#L{我的微群}</div>'
            + '<div node-type="groupContent"></div>'
            + '<div class="func func_up"><span><a class="more" href="http://q.weibo.com/profile?topnav=1'
            + d
            + '" target="_top">#L{管理/查看更多微群}</a></span></div></div>'
            + "</li>"
            + '<li node-type="app">'
            + '<a href="'
            + e
            + "/app?topnav=1"
            + d
            + '" class="link" target="_top">#L{应用}<span class="W_arr_d"><em class="b1"></em><em class="b2"></em><em class="b3"></em></span></a>'
            + '<div class="layer_topmenu_list layer_topmenu_list_app" node-type="layerApp" style="position:absolute; top:33px; left:-329px;display:none;">'
            + '<div node-type="appContent" class="border clearfix">'
            + "</div>"
            + "</div>"
            + "</li>"
            + '<li node-type="game"><a href="http://game.weibo.com?origin=1021&topnav=1'
            + d
            + '" class="link" target="_top">#L{游戏}<span class="W_arr_d"><em class="b1"></em><em class="b2"></em><em class="b3"></em></span></a>'
            + '<div style="display:none;" class="layer_topmenu_list layer_topmenu_list_yy" node-type="layerGame">'
            + '<div class="func"><span><a class="more" href="http://game.weibo.com/home/recommend/game?origin=2304&topnav=1'
            + d
            + '" target="_top">#L{浏览热门游戏}</a></span>#L{常用游戏}</div>'
            + '<div node-type="gameContent"></div>'
            + '<div class="func func_up"><span><a class="more" href="http://game.weibo.com/home/game/my?origin=2002&topnav=1'
            + d
            + '" target="_top">#L{查看我的游戏}</a></span></div>'
            + "</div>"
            + "</li>"
            + "</ul>"
            + '<div class="search" '
            + "<#if (data.search_switch)>"
            + 'style="visibility:hidden;"'
            + "</#if>"
            + ">"
            + '<input node-type="searchInput" type="text" class="input W_no_outline" value="#L{搜索微博、找人}" maxlength="40" />'
            + '<a href="javascript:void(0)" onclick="return false" class="btn" node-type="searchSubmit" ></a>'
            + '<div class="W_layer_suggest" style="display: none;top: 27px; left: 0px;" node-type="searchSuggest">'
            + '<div node-type="basic"></div>'
            + '<div node-type="plus"></div>'
            + "</div>"
            + "</div>"
            + '<div class="right">'
            + '<ul class="person">'
            + '<li node-type="account">'
            + '<a href="javascript:void(0)" onclick="return false;" class="link  W_no_outline">#L{帐号}<span class="W_arr_d"><em class="b1"></em><em class="b2"></em><em class="b3"></em></span></a>'
            + '<div class="layer_topmenu_list" node-type="layerAccount" style="display:none">'
            + '<dl class="person_infos">'
            + '<dt><img height="30" width="30" alt="${data.name}" src="${data.icon}"></dt>'
            + '<dd><a href="'
            + e
            + "/${data.uid}/profile?topnav=1"
            + d
            + '" target="_top"><span>${data.name}'
            + "<#if (data.verify)>"
            + '<img src="${data.imgPath}/style/images/common/transparent.gif" alt="" class="approve<#if (data.verify == 2)> approve_co</#if>" width="11" height="10"/>'
            + "</#if>"
            + "</span></a></dd>"
            + "</dl>"
            + "<ul>"
            + '<li class="line"></li>'
            + '<li><a href="http://account.weibo.com/settings/index?topnav=1'
            + d
            + '" target="_top"><img width="16" height="16" class="ico_account" alt="#L{帐号设置}" src="${data.imgPath}/style/images/common/transparent.gif" />#L{帐号设置}</a></li>'
            + '<li><a href="'
            + e
            + "/home?setskin&topnav=1"
            + d
            + '" target="_top"><img width="16" height="16" class="ico_template" alt="#L{模板设置}" src="${data.imgPath}/style/images/common/transparent.gif" />#L{模板设置}</a></li>'
            + '<li><a href="http://account.weibo.com/settings/version?topnav=1'
            + d
            + '" target="_top"><img width="16" height="16" class="ico_versionchoice" alt="#L{版本选择}" src="${data.imgPath}/style/images/common/transparent.gif" />#L{版本选择}</a></li>'
            + '<li class="line"></li>'
            + '<li><a href="http://credits.weibo.com/?topnav=1'
            + d
            + '" target="_top"><img width="16" height="16" class="ico_credits" alt="#L{我的微币}" src="${data.imgPath}/style/images/common/transparent.gif" />#L{我的微币}</a></li>'
            + '<li><a href="http://hao.weibo.com/show?entry=account&topnav=1'
            + d
            + '" target="_top"><img width="16" height="16" class="ico_hao" alt="#L{我的微号}" src="${data.imgPath}/style/images/common/transparent.gif" />#L{我的微号}</a></li>'
            + '<li><a href="'
            + e
            + "/tool?topnav=1"
            + d
            + '" target="_top"><img width="16" height="16" class="ico_toolset" alt="#L{我的工具}" src="${data.imgPath}/style/images/common/transparent.gif" />#L{我的工具}</a></li>'
            + '<li class="line"></li>'
            + '<li><a href="'
            + e
            + "/logout.php?backurl=/&topnav=1"
            + d
            + '" node-type="exit" target="_top"><img width="16" height="16" class="ico_exit" alt="#L{退出}" src="${data.imgPath}/style/images/common/transparent.gif" />#L{退出}</a></li>'
            + "</ul>"
            + "</div>"
            + "</li>"
            + '<li node-type="notice" >'
            + '<a href="javascript:void(0)" onclick="return false;" class="link W_no_outline">#L{消息}<span class="W_arr_d"><em class="b1"></em><em class="b2"></em><em class="b3"></em></span></a>'
            + '<div class="layer_topmenu_list" node-type="layerNotice" style="display:none;width:190px">'
            + '<div node-type="noticeContent">'
            + "</div>"
            + "</div>"
            + "</li>"
            + '<li node-type="find"><a href="'
            + e
            + "/f/find?topnav=1"
            + d
            + '" class="link" target="_top">找人</a></li>'
            + '<li><a href="http://m.weibo.com/web/cellphone.php?topnav=1'
            + d
            + '" class="link" target="_top">#L{手机}</a></li>'
            + '<li><a href="'
            + e
            + "/${data.uid}/profile?topnav=1"
            + d
            + '" class="link" target="_top">${data.beautyname}</a></li>'
            + "</ul>" + "</div>" + "</div>" + "</div>" + "</#et>", g = '<#et opts data><div class="global_header"><div class="header"><div class="logo"><a href="'
            + e
            + "?topnav=1"
            + d
            + '" target="_top"></a></div>'
            + '<ul class="list">'
            + '<li><a class="link" href="'
            + e
            + "?topnav=1"
            + d
            + '" target="_top">#L{首页}</a></li>'
            + '<li><a href="http://plaza.weibo.com?topnav=1'
            + d
            + '"  class="link" target="_top">#L{广场}</a></li>'
            + '<li class=""><a class="link" href="http://q.weibo.com?topnav=1'
            + d
            + '" target="_top">#L{微群}</a></li>'
            + '<li><a class="link" href="'
            + e
            + "/app?topnav=1"
            + d
            + '" target="_top">#L{应用}</a></li>'
            + '<li><a class="link" href="http://game.weibo.com?origin=1021&topnav=1'
            + d
            + '" target="_top">#L{游戏}</a></li>'
            + "</ul>"
            + '<div class="search" '
            + "<#if (data.search_switch)>"
            + 'style="visibility:hidden;"'
            + "</#if>"
            + ">"
            + '<input node-type="searchInput" type="text" value="搜索微博、找人" class="input W_no_outline">'
            + '<a href="javascript:void(0)" onclick="return false" class="btn" node-type="searchSubmit" ></a>'
            + '<div class="W_layer_suggest" style="display: none;top: 27px; left: 0px; width: 217px;" node-type="searchSuggest">'
            + '<div node-type="basic"></div>'
            + '<div node-type="plus"></div>'
            + "</div>"
            + "</div>"
            + '<a href="'
            + e
            + "/f/find?topnav=1"
            + d
            + '" class="search_person" target="_top">找人</a>'
            + '<div class="right">'
            + '<p class="no_login"><span>#L{还没有微博帐号？}</span><a href="'
            + e
            + "/signup/signup.php?topnav=1"
            + d
            + '&inviteCode=${data.inviteCode}&entry=${data.entry}" target="_top">#L{注册}</a><em>|</em><a node-type="loginBtn" href="javascript:void(0)">#L{登录}</a></p>'
            + "</div>" + "</div>" + "</div>" + "</#et>";
    return b
}();
